[CMAKE]
authorJérôme Gardou <jerome.gardou@reactos.org>
Sat, 26 Mar 2011 11:11:46 +0000 (11:11 +0000)
committerJérôme Gardou <jerome.gardou@reactos.org>
Sat, 26 Mar 2011 11:11:46 +0000 (11:11 +0000)
  - cmake 2.8.4 comes with a new policy, set the needed behaviour.

svn path=/branches/cmake-bringup/; revision=51149

CMakeLists.txt

index 90a8e28..bbc579d 100644 (file)
@@ -7,6 +7,8 @@ include(include/reactos/version.cmake)
 
 # Don't escape preprocessor definition values added via add_definitions
 cmake_policy(SET CMP0005 OLD)
+# Shadow cmake provided modules
+cmake_policy(SET CMP0017 OLD)
 
 set(CMAKE_INCLUDE_CURRENT_DIR ON)
 set(CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE ON)