Changeset: 099d804fdb6a for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=099d804fdb6a
Modified Files:
cmake/monetdb-toolchain.cmake
Branch: default
Log Message:
add_compile_definitions doesn't need the -D
diffs (20 lines):
diff --git a/cmake/monetdb-toolchain.cmake b/cmake/monetdb-toolchain.cmake
--- a/cmake/monetdb-toolchain.cmake
+++ b/cmake/monetdb-toolchain.cmake
@@ -104,7 +104,7 @@ function(monetdb_default_compiler_option
if(${CMAKE_C_COMPILER_ID} STREQUAL "GNU")
add_compile_options("-fsanitize=address")
add_compile_options("-fno-omit-frame-pointer")
- add_compile_definitions(-DNO_ATOMIC_INSTRUCTIONS)
+ add_compile_definitions(NO_ATOMIC_INSTRUCTIONS)
else()
message(FATAL_ERROR "Sanitizer only supported with GCC")
endif()
@@ -176,6 +176,6 @@ function(monetdb_default_compiler_option
endif()
if(NOT ASSERT)
- add_compile_definitions("-DNDEBUG=1")
+ add_compile_definitions("NDEBUG=1")
endif()
endfunction()
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list