Browse Source

Merge pull request #512 from JaapKeuter/cmake_test

Properly append to CMAKE_C_FLAGS string
tags/json-c-0.14-20200419
Eric Haszlakiewicz GitHub 5 years ago
parent
commit
d6b968dff7
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tests/CMakeLists.txt

+ 1
- 1
tests/CMakeLists.txt View File

@@ -54,6 +54,6 @@ endforeach(TESTNAME)

# Make sure NDEBUG is always undefined for tests
if (UNIX OR MINGW OR CYGWIN)
list(APPEND CMAKE_C_FLAGS -UNDEBUG)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -UNDEBUG")
endif()


Loading…
Cancel
Save