diff CMakeLists.txt @ 171:04c1e0188ac3

Fixed RELEASE_BUILD define.
author Sascha Wilde <wilde@intevation.de>
date Tue, 25 Mar 2014 15:15:16 +0100
parents 37198bd07182
children 2fd69803d219
line wrap: on
line diff
--- a/CMakeLists.txt	Tue Mar 25 13:33:27 2014 +0100
+++ b/CMakeLists.txt	Tue Mar 25 15:15:16 2014 +0100
@@ -28,7 +28,7 @@
    if (NOT CMAKE_BUILD_TYPE)
       set (CMAKE_BUILD_TYPE RELEASE)
    endif (NOT CMAKE_BUILD_TYPE)
-   add_definitions (RELEASE_BUILD)
+   add_definitions (-DRELEASE_BUILD)
 else()
 # Default to debug build
    if (NOT CMAKE_BUILD_TYPE)

http://wald.intevation.org/projects/trustbridge/