aboutsummaryrefslogtreecommitdiff
path: root/test/conversion
diff options
context:
space:
mode:
Diffstat (limited to 'test/conversion')
-rw-r--r--test/conversion/CMakeLists.txt2
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)