X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=CMakeLists.txt;h=a9b66d436a9a4118ac4f0a163cce2688b878676a;hb=030609cb99174ea85e69635c494ccaaaa20b2ac5;hp=6a4d79d816c890cb9f4ae742f49124077b3ba301;hpb=ccee8a9aa5c7646c5e05f860a0e8221151551c51;p=inkscape.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 6a4d79d81..a9b66d436 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,16 +1,21 @@ PROJECT(inkscape) -SET(INKSCAPE_VERSION 0.46+devel) +SET(INKSCAPE_VERSION 0.48+devel) 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) - # Set to true if compiler/linker should enable profiling: -#SET(ENABLE_PROFILING TRUE) + +INCLUDE(ConfigPaths) #Installation Paths +INCLUDE(DefineDependsandFlags) #Includes, Compiler Flags, and Link Libraries +INCLUDE(HelperMacros) #Misc Utility Macros + +OPTION(ENABLE_PROFILING "Turn on profiling" OFF) # Set to true if compiler/linker should enable profiling #make dist target SET(INKSCAPE_DIST_PREFIX "${PROJECT_NAME}-${INKSCAPE_VERSION}")