summaryrefslogtreecommitdiff
path: root/thirdparty/dxerr/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/dxerr/CMakeLists.txt')
-rw-r--r--thirdparty/dxerr/CMakeLists.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/thirdparty/dxerr/CMakeLists.txt b/thirdparty/dxerr/CMakeLists.txt
new file mode 100644
index 00000000..c30c104c
--- /dev/null
+++ b/thirdparty/dxerr/CMakeLists.txt
@@ -0,0 +1,16 @@
+if (DirectX_D3D11_1_INCLUDE_FOUND)
+
+ include_directories (BEFORE SYSTEM
+ ${DirectX_D3D11_1_INCLUDE_DIR}
+ )
+
+ add_library (dxerr STATIC
+ dxerr.cpp
+ )
+
+ install (
+ FILES license.txt
+ DESTINATION ${DOC_INSTALL_DIR}
+ RENAME LICENSE-dxerr.txt
+ )
+endif ()