# HG changeset patch # User Alpar Juttner # Date 1428006843 -7200 # Node ID 39b6e65574c68620fda4e5faa9bd779c29c62190 # Parent 27d7d232fbcce70d42cd7d0c8acf470449be41e4# Parent ee96cd1cad8a86cc246791659ce8e27dc287277e Merge diff -r 27d7d232fbcc -r 39b6e65574c6 CMakeLists.txt --- a/CMakeLists.txt Thu Apr 02 14:09:21 2015 +0200 +++ b/CMakeLists.txt Thu Apr 02 22:34:03 2015 +0200 @@ -4,6 +4,10 @@ CMAKE_POLICY(SET CMP0048 OLD) ENDIF(POLICY CMP0048) +IF(POLICY CMP0043) + CMAKE_POLICY(SET CMP0043 OLD) +ENDIF(POLICY CMP0043) + SET(PROJECT_NAME "LEMON") PROJECT(${PROJECT_NAME}) @@ -225,6 +229,10 @@ "Choose the type of build, options are: None(CMAKE_CXX_FLAGS or CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel Maintainer." FORCE ) +SET_DIRECTORY_PROPERTIES(PROPERTIES + COMPILE_DEFINITIONS_DEBUG "LEMON_ENABLE_DEBUG" + COMPILE_DEFINITIONS_MAINTAINER "LEMON_ENABLE_DEBUG" +) INCLUDE(CheckTypeSize) CHECK_TYPE_SIZE("long long" LONG_LONG)