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/conversion | |
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/conversion')
-rw-r--r-- | test/conversion/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/conversion/CMakeLists.txt b/test/conversion/CMakeLists.txt index 361c7e8..52e8e8a 100644 --- a/test/conversion/CMakeLists.txt +++ b/test/conversion/CMakeLists.txt @@ -8,5 +8,5 @@ include_directories( add_executable(ConversionTest conversion.cpp $<TARGET_OBJECTS:Catch-objects>) -set_target_properties(ConversionTest PROPERTIES COMPILE_DEFINITIONS "GSL_THROW_ON_CONTRACT_VIOLATION") +target_compile_definitions(ConversionTest PRIVATE GSL_THROW_ON_CONTRACT_VIOLATION) add_test(NAME ConversionTest COMMAND ConversionTest) |