aboutsummaryrefslogtreecommitdiff
path: root/test/wopl-file
diff options
context:
space:
mode:
authorAlexander Grund <alexander.grund@tu-dresden.de>2018-12-13 10:18:42 +0100
committerAlexander Grund <alexander.grund@tu-dresden.de>2018-12-13 10:29:49 +0100
commit613b7127cfc84ecb0dbfcbee12f0c9776ab20cb5 (patch)
tree00de25ae58f9a984a2ed4bcdee5e2325a0ae5473 /test/wopl-file
parent68d5c8d63c4901b1894af89f417285b32727935f (diff)
downloadlibADLMIDI-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.txt3
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)
-