diff options
author | José Fonseca <jfonseca@vmware.com> | 2013-03-11 22:37:59 +0000 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2013-03-11 22:38:22 +0000 |
commit | 65321858f558e0851a27158cbf3d207f530148e8 (patch) | |
tree | 9fe7c67de91ca7f34c351be23ee89beed055e5d7 /cmake/FindDirectX.cmake | |
parent | 1c3144b7f0d37ae3909bd1a854ede6a0aa3ea20d (diff) |
cmake: Fix D2D include path w/ Visual Studio 2012.
Diffstat (limited to 'cmake/FindDirectX.cmake')
-rw-r--r-- | cmake/FindDirectX.cmake | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/cmake/FindDirectX.cmake b/cmake/FindDirectX.cmake index 43472fad..e71a7733 100644 --- a/cmake/FindDirectX.cmake +++ b/cmake/FindDirectX.cmake @@ -214,13 +214,11 @@ if (${CMAKE_SYSTEM_NAME} STREQUAL "Windows") find_path (DirectX_D2D1_INCLUDE_DIR d2d1.h - PATHS - "${DirectX_ROOT_DIR}/Include" + PATHS ${DirectX_INC_SEARCH_PATH} DOC "The directory where d2d1.h resides") find_library (DirectX_D2D1_LIBRARY d2d1 - PATHS - "${DirectX_ROOT_DIR}/Lib/x86" + PATHS ${DirectX_LIB_SEARCH_PATH} DOC "The directory where d2d1 resides") if (DirectX_D2D1_INCLUDE_DIR AND DirectX_D2D1_LIBRARY) |