From 1b1c7cd4ac9efe9f44b31513a33dc68bf6ee1924 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 20 May 2012 15:23:52 -0500 Subject: A few more CMake-related fixes --- CMakeLists.txt | 6 ------ 1 file changed, 6 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 046e9b05..6e845b01 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -24,15 +24,9 @@ option(BUILD_EMACSLISP "Build and install ledger-mode for Emacs" OFF) if(BUILD_DEBUG) set(CMAKE_BUILD_TYPE Debug) set(DEBUG_MODE 1) - set(NDEBUG 0) -elseif(NO_ASSERTS) - set(CMAKE_BUILD_TYPE Release) - set(DEBUG_MODE 0) - set(NDEBUG 1) else() set(CMAKE_BUILD_TYPE Release) set(DEBUG_MODE 0) - set(NDEBUG 0) endif() ######################################################################## -- cgit v1.2.3