Merge
authorAlpar Juttner <alpar@cs.elte.hu>
Thu, 02 Apr 2015 22:34:03 +0200
changeset 133539b6e65574c6
parent 1333 27d7d232fbcc
parent 1334 ee96cd1cad8a
child 1336 0759d974de81
Merge
CMakeLists.txt
     1.1 --- a/CMakeLists.txt	Thu Apr 02 14:09:21 2015 +0200
     1.2 +++ b/CMakeLists.txt	Thu Apr 02 22:34:03 2015 +0200
     1.3 @@ -4,6 +4,10 @@
     1.4    CMAKE_POLICY(SET CMP0048 OLD) 
     1.5  ENDIF(POLICY CMP0048)
     1.6  
     1.7 +IF(POLICY CMP0043) 
     1.8 +  CMAKE_POLICY(SET CMP0043 OLD) 
     1.9 +ENDIF(POLICY CMP0043)
    1.10 +
    1.11  SET(PROJECT_NAME "LEMON")
    1.12  PROJECT(${PROJECT_NAME})
    1.13  
    1.14 @@ -225,6 +229,10 @@
    1.15      "Choose the type of build, options are: None(CMAKE_CXX_FLAGS or CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel Maintainer."
    1.16      FORCE )
    1.17  
    1.18 +SET_DIRECTORY_PROPERTIES(PROPERTIES
    1.19 +  COMPILE_DEFINITIONS_DEBUG "LEMON_ENABLE_DEBUG"
    1.20 +  COMPILE_DEFINITIONS_MAINTAINER "LEMON_ENABLE_DEBUG"
    1.21 +)
    1.22  
    1.23  INCLUDE(CheckTypeSize)
    1.24  CHECK_TYPE_SIZE("long long" LONG_LONG)