summaryrefslogtreecommitdiff
path: root/wrappers/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'wrappers/CMakeLists.txt')
-rw-r--r--wrappers/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/wrappers/CMakeLists.txt b/wrappers/CMakeLists.txt
index de4895d3..9a122eb5 100644
--- a/wrappers/CMakeLists.txt
+++ b/wrappers/CMakeLists.txt
@@ -121,7 +121,7 @@ if (WIN32)
endif ()
# dxgi.dll, d3d10.dll, d3d10_1.dll, d3d11.dll
- if (DirectX_D3D11_1_INCLUDE_FOUND)
+ if (DirectX_D3D11_2_INCLUDE_FOUND)
set (DXGITRACE_DEF ${CMAKE_CURRENT_BINARY_DIR}/dxgitrace.def)
file (WRITE ${DXGITRACE_DEF} "EXPORTS\n")
file (APPEND ${DXGITRACE_DEF} "CreateDXGIFactory\n")
@@ -133,7 +133,7 @@ if (WIN32)
file (APPEND ${DXGITRACE_DEF} "D3D11CreateDevice\n")
file (APPEND ${DXGITRACE_DEF} "D3D11CreateDeviceAndSwapChain\n")
- include_directories (BEFORE SYSTEM ${DirectX_D3D11_1_INCLUDE_DIR})
+ include_directories (BEFORE SYSTEM ${DirectX_D3D11_2_INCLUDE_DIR})
add_custom_command (
OUTPUT dxgitrace.cpp