diff options
author | Alexander Grund <alexander.grund@tu-dresden.de> | 2018-12-13 10:18:42 +0100 |
---|---|---|
committer | Alexander Grund <alexander.grund@tu-dresden.de> | 2018-12-13 10:29:49 +0100 |
commit | 613b7127cfc84ecb0dbfcbee12f0c9776ab20cb5 (patch) | |
tree | 00de25ae58f9a984a2ed4bcdee5e2325a0ae5473 /test/wopl-file | |
parent | 68d5c8d63c4901b1894af89f417285b32727935f (diff) | |
download | libADLMIDI-613b7127cfc84ecb0dbfcbee12f0c9776ab20cb5.tar.gz libADLMIDI-613b7127cfc84ecb0dbfcbee12f0c9776ab20cb5.tar.bz2 libADLMIDI-613b7127cfc84ecb0dbfcbee12f0c9776ab20cb5.zip |
Fix compile definitions
No "-D" needed
Diffstat (limited to 'test/wopl-file')
-rw-r--r-- | test/wopl-file/CMakeLists.txt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/wopl-file/CMakeLists.txt b/test/wopl-file/CMakeLists.txt index 082f1fe..e969419 100644 --- a/test/wopl-file/CMakeLists.txt +++ b/test/wopl-file/CMakeLists.txt @@ -10,6 +10,5 @@ add_executable(WoplFile ${libADLMIDI_SOURCE_DIR}/src/wopl/wopl_file.c $<TARGET_OBJECTS:Catch-objects>) -set_target_properties(WoplFile PROPERTIES COMPILE_DEFINITIONS "GSL_THROW_ON_CONTRACT_VIOLATION") +target_compile_definitions(WoplFile PRIVATE GSL_THROW_ON_CONTRACT_VIOLATION) add_test(NAME WoplFileTest COMMAND WoplFile) - |