diff options
| author | Joshua L. Blocher <verbalshadow@gmail.com> | 2009-01-12 01:25:52 +0000 |
|---|---|---|
| committer | verbalshadow <verbalshadow@users.sourceforge.net> | 2009-01-12 01:25:52 +0000 |
| commit | 431b6e2c2cfe6c10b101aaaf296550b4ec44c862 (patch) | |
| tree | f962e3973c84b43e63ab44a3e9681876edde076c /CMakeLists.txt | |
| parent | copyedit (diff) | |
| download | inkscape-431b6e2c2cfe6c10b101aaaf296550b4ec44c862.tar.gz inkscape-431b6e2c2cfe6c10b101aaaf296550b4ec44c862.zip | |
Cmake: Fixed the extra -l in the link command, plus a add linking for all sub-libs of inkscape.
(bzr r7120)
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index a5b2622af..1b8053a02 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,17 +5,17 @@ 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) +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}") |
