Code

Cmake build fixes, minor
[inkscape.git] / CMakeLists.txt
index 6a4d79d816c890cb9f4ae742f49124077b3ba301..a5b2622af3698b2f44a887add4d71821c99d9739 100644 (file)
@@ -5,11 +5,16 @@ SET(PROJECT_NAME inkscape)
 CMAKE_MINIMUM_REQUIRED(VERSION 2.4.6)
 SET(CMAKE_INCLUDE_CURRENT_DIR TRUE)
 
+if(COMMAND cmake_policy)
+  cmake_policy(SET CMP0003 NEW)
+endif(COMMAND cmake_policy)
+
 LIST(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/CMakeScripts")
 INCLUDE(ConfigPaths)
 INCLUDE(DefineDependsandFlags)
 INCLUDE(HelperMacros)
-\r# Set to true if compiler/linker should enable profiling:
+
+# Set to true if compiler/linker should enable profiling:
 #SET(ENABLE_PROFILING TRUE)
 
 #make dist target