summaryrefslogtreecommitdiff
path: root/cmake/FindDirectXTK.cmake
diff options
context:
space:
mode:
authorJason Maskell <[email protected]>2016-05-19 11:56:51 +0200
committerJason Maskell <[email protected]>2016-05-19 11:56:51 +0200
commit67e62061658d90b9491c55544bb419f91a0c5c08 (patch)
tree8769085a7916ae6e8b4fa6cb61a7d56018704396 /cmake/FindDirectXTK.cmake
parentAdded the ability to specify the "media" directory for the test project. (diff)
downloadwaveworks_archive-67e62061658d90b9491c55544bb419f91a0c5c08.tar.xz
waveworks_archive-67e62061658d90b9491c55544bb419f91a0c5c08.zip
D3D11 test is compiling and running with a rendering error (ocean is grey and not dark blue).
D3D11 sample added but still has lots of compile errors, needs to be fully converted to use new DXUT11, etc.
Diffstat (limited to 'cmake/FindDirectXTK.cmake')
-rw-r--r--cmake/FindDirectXTK.cmake8
1 files changed, 5 insertions, 3 deletions
diff --git a/cmake/FindDirectXTK.cmake b/cmake/FindDirectXTK.cmake
index 21ecbe3..e6466b4 100644
--- a/cmake/FindDirectXTK.cmake
+++ b/cmake/FindDirectXTK.cmake
@@ -8,10 +8,12 @@ else()
set(DXTKARCH "Win32")
endif()
-find_path(DXTK_SDK_PATH DirectXHelpers.h
- HINTS ${GW_DEPS_ROOT}/DirectXTK/Inc
+find_path(DXTK_SDK_PATH Inc/DirectXHelpers.h
+ HINTS ${GW_DEPS_ROOT}/DirectXTK/
)
-
+
+MESSAGE("DXTK SDK ${DXTK_SDK_PATH}")
+
find_library(DXTK_LIBRARY_RELEASE
NAMES DirectXTK
PATHS ${DXTK_SDK_PATH}/Bin/*/${DXTKARCH}/Release)