Define some more missing CMake variables
This commit is contained in:
parent
9c9534d562
commit
8faae66638
1 changed files with 4 additions and 0 deletions
|
|
@ -24,11 +24,15 @@ option(BUILD_EMACSLISP "Build and install ledger-mode for Emacs" OFF)
|
||||||
if(BUILD_DEBUG)
|
if(BUILD_DEBUG)
|
||||||
set(CMAKE_BUILD_TYPE Debug)
|
set(CMAKE_BUILD_TYPE Debug)
|
||||||
set(DEBUG_MODE 1)
|
set(DEBUG_MODE 1)
|
||||||
|
set(NDEBUG 0)
|
||||||
elseif(NO_ASSERTS)
|
elseif(NO_ASSERTS)
|
||||||
set(CMAKE_BUILD_TYPE Release)
|
set(CMAKE_BUILD_TYPE Release)
|
||||||
|
set(DEBUG_MODE 0)
|
||||||
set(NDEBUG 1)
|
set(NDEBUG 1)
|
||||||
else()
|
else()
|
||||||
set(CMAKE_BUILD_TYPE Release)
|
set(CMAKE_BUILD_TYPE Release)
|
||||||
|
set(DEBUG_MODE 0)
|
||||||
|
set(NDEBUG 0)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
########################################################################
|
########################################################################
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue