diff options
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) - |