mirror of
https://github.com/json-c/json-c.git
synced 2026-04-08 14:59:06 +08:00
Merge pull request #512 from JaapKeuter/cmake_test
Properly append to CMAKE_C_FLAGS string
This commit is contained in:
@@ -54,6 +54,6 @@ endforeach(TESTNAME)
|
|||||||
|
|
||||||
# Make sure NDEBUG is always undefined for tests
|
# Make sure NDEBUG is always undefined for tests
|
||||||
if (UNIX OR MINGW OR CYGWIN)
|
if (UNIX OR MINGW OR CYGWIN)
|
||||||
list(APPEND CMAKE_C_FLAGS -UNDEBUG)
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -UNDEBUG")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user