summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2011-06-02 14:38:34 +0100
committerJosé Fonseca <jfonseca@vmware.com>2011-06-02 14:38:34 +0100
commit8890a30dfa148c4bb62882519dc8f8c845470945 (patch)
tree8142e9a74481e7651f0e69d21c0b29c86d4b1762 /cmake
parenta316ae51e1125cbae95539ddae5f9c12d87612f5 (diff)
Make windows build user friendlier.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/FindDirectX.cmake29
1 files changed, 29 insertions, 0 deletions
diff --git a/cmake/FindDirectX.cmake b/cmake/FindDirectX.cmake
index 352e1a3e..2c54023e 100644
--- a/cmake/FindDirectX.cmake
+++ b/cmake/FindDirectX.cmake
@@ -137,9 +137,38 @@ if (${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
endif (DirectX_D3DX10_INCLUDE_DIR AND DirectX_D3DX10_LIBRARY)
endif (DirectX_D3D10_INCLUDE_DIR AND DirectX_D3D10_LIBRARY)
+ mark_as_advanced(
+ DirectX_D3D_INCLUDE_DIR
+ DirectX_D3D_INCLUDE_DIR
+ DirectX_DDRAW_LIBRARY
+ DirectX_DDRAW_LIBRARY
+ DirectX_D3DX_INCLUDE_DIR
+ DirectX_D3DX_INCLUDE_DIR
+ DirectX_D3DX_LIBRARY
+ DirectX_D3DX_LIBRARY
+ DirectX_D3D8_INCLUDE_DIR
+ DirectX_D3D8_INCLUDE_DIR
+ DirectX_D3D8_LIBRARY
+ DirectX_D3D8_LIBRARY
+ DirectX_D3DX8_INCLUDE_DIR
+ DirectX_D3DX8_INCLUDE_DIR
+ DirectX_D3DX8_LIBRARY
+ DirectX_D3DX8_LIBRARY
+ DirectX_D3D9_INCLUDE_DIR
+ DirectX_D3D9_LIBRARY
+ DirectX_D3DX9_INCLUDE_DIR
+ DirectX_D3DX9_LIBRARY
+ DirectX_D3D10_INCLUDE_DIR
+ DirectX_D3D10_LIBRARY
+ DirectX_D3DX10_INCLUDE_DIR
+ DirectX_D3DX10_LIBRARY
+ )
+
endif (${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
mark_as_advanced (
+ DirectX_D3D_FOUND
+ DirectX_D3DX_FOUND
DirectX_D3D8_FOUND
DirectX_D3DX8_FOUND
DirectX_D3D9_FOUND