diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-08-03 06:32:17 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-08-03 06:32:17 +0200 |
commit | f134100adcdaa5895edcf8819635b6d23e7c7efd (patch) | |
tree | 9ac78b2f91a03906b0baf5c4dade5bab78adac2d /cmake | |
parent | 1bb21a80f3173d4e1c254fddd803559bf84a364a (diff) |
irrelevant busywork
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/opentrack-platform.cmake | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/cmake/opentrack-platform.cmake b/cmake/opentrack-platform.cmake index de711ac4..c9bc2fca 100644 --- a/cmake/opentrack-platform.cmake +++ b/cmake/opentrack-platform.cmake @@ -128,12 +128,10 @@ set(CMAKE_CXX_STANDARD_REQUIRED TRUE) set(CMAKE_CXX_EXTENSIONS FALSE) foreach(k _RELEASE _DEBUG _RELWITHDEBINFO _MINSIZEREL) - set(CMAKE_C_FLAGS${k} "-UNDEBUG ${CMAKE_C_FLAGS${k}}") - set(CMAKE_CXX_FLAGS${k} "-UNDEBUG ${CMAKE_CXX_FLAGS${k}}") + set(CMAKE_C_FLAGS${k} "${CMAKE_C_FLAGS${k}} -UNDEBUG") + set(CMAKE_CXX_FLAGS${k} "${CMAKE_CXX_FLAGS${k}} -UNDEBUG") endforeach() -set_property(GLOBAL PROPERTY USE_FOLDERS OFF) - if(MINGW) add_definitions(-DMINGW_HAS_SECURE_API) add_definitions(-DSTRSAFE_NO_DEPRECATE) |