diff options
author | Dan Liew <daniel.liew@imperial.ac.uk> | 2017-10-04 14:18:23 +0100 |
---|---|---|
committer | Dan Liew <delcypher@gmail.com> | 2017-10-04 22:27:29 +0100 |
commit | 12f0e2cd11e4bb9e0aa829f95bb437bee0e929cb (patch) | |
tree | eb7db831a33c71c0c2098e01ffca05639e4d7c4e | |
parent | 4c026ad0b0e512cbd330beca5c55391f1e333db3 (diff) | |
download | klee-12f0e2cd11e4bb9e0aa829f95bb437bee0e929cb.tar.gz |
[CMake] Fix bug when doing non-assert builds.
It seems we need to pass `-D` to CMake explicitly.
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index c61c2431..ed031459 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -170,7 +170,7 @@ if (ENABLE_KLEE_ASSERTS) # Assume that -DNDEBUG isn't set. else() message(STATUS "KLEE assertions disabled") - list(APPEND KLEE_COMPONENT_CXX_DEFINES "NDEBUG") + list(APPEND KLEE_COMPONENT_CXX_DEFINES "-DNDEBUG") endif() ################################################################################ |