Skip to content

Commit

Permalink
cmake: Fix D2D include path w/ Visual Studio 2012.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrfonseca committed Mar 11, 2013
1 parent 1c3144b commit 6532185
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions cmake/FindDirectX.cmake
Expand Up @@ -214,13 +214,11 @@ if (${CMAKE_SYSTEM_NAME} STREQUAL "Windows")




find_path (DirectX_D2D1_INCLUDE_DIR d2d1.h find_path (DirectX_D2D1_INCLUDE_DIR d2d1.h
PATHS PATHS ${DirectX_INC_SEARCH_PATH}
"${DirectX_ROOT_DIR}/Include"
DOC "The directory where d2d1.h resides") DOC "The directory where d2d1.h resides")


find_library (DirectX_D2D1_LIBRARY d2d1 find_library (DirectX_D2D1_LIBRARY d2d1
PATHS PATHS ${DirectX_LIB_SEARCH_PATH}
"${DirectX_ROOT_DIR}/Lib/x86"
DOC "The directory where d2d1 resides") DOC "The directory where d2d1 resides")


if (DirectX_D2D1_INCLUDE_DIR AND DirectX_D2D1_LIBRARY) if (DirectX_D2D1_INCLUDE_DIR AND DirectX_D2D1_LIBRARY)
Expand Down

0 comments on commit 6532185

Please sign in to comment.