1.1 --- a/CMakeLists.txt Wed Sep 25 11:15:56 2013 +0200
1.2 +++ b/CMakeLists.txt Tue Oct 22 12:24:09 2013 +0200
1.3 @@ -1,5 +1,9 @@
1.4 CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
1.5
1.6 +IF(POLICY CMP0043)
1.7 + CMAKE_POLICY(SET CMP0043 OLD)
1.8 +ENDIF(POLICY CMP0043)
1.9 +
1.10 SET(PROJECT_NAME "LEMON")
1.11 PROJECT(${PROJECT_NAME})
1.12
1.13 @@ -211,6 +215,10 @@
1.14 "Choose the type of build, options are: None(CMAKE_CXX_FLAGS or CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel Maintainer."
1.15 FORCE )
1.16
1.17 +SET_DIRECTORY_PROPERTIES(PROPERTIES
1.18 + COMPILE_DEFINITIONS_DEBUG "LEMON_ENABLE_DEBUG"
1.19 + COMPILE_DEFINITIONS_MAINTAINER "LEMON_ENABLE_DEBUG"
1.20 +)
1.21
1.22 INCLUDE(CheckTypeSize)
1.23 CHECK_TYPE_SIZE("long long" LONG_LONG)