[ros-diffs] [jgardou] 51149: [CMAKE] - cmake 2.8.4 comes with a new policy, set the needed behaviour.

jgardou at svn.reactos.org jgardou at svn.reactos.org
Sat Mar 26 11:11:46 UTC 2011


Author: jgardou
Date: Sat Mar 26 11:11:46 2011
New Revision: 51149

URL: http://svn.reactos.org/svn/reactos?rev=51149&view=rev
Log:
[CMAKE]
  - cmake 2.8.4 comes with a new policy, set the needed behaviour.

Modified:
    branches/cmake-bringup/CMakeLists.txt

Modified: branches/cmake-bringup/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/CMakeLists.txt?rev=51149&r1=51148&r2=51149&view=diff
==============================================================================
--- branches/cmake-bringup/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/CMakeLists.txt [iso-8859-1] Sat Mar 26 11:11:46 2011
@@ -7,6 +7,8 @@
 
 # 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)




More information about the Ros-diffs mailing list