diff options
author | bubnikv <bubnikv@gmail.com> | 2019-12-22 16:25:07 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2019-12-22 16:25:07 +0300 |
commit | 220e2dbfec58cbbcff548d8211a17f0dcbe32aab (patch) | |
tree | 22de4f99a773ff3252ad3f14e4649b873313932e | |
parent | 4473254779e7e2722ef5d5bba842cf4510169a03 (diff) |
Fixed previous commit (change of CMake)version_2.2.0-alpha2
-rw-r--r-- | tests/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index aab540126..61fe97277 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -11,7 +11,7 @@ add_library(Catch2::Catch2 ALIAS Catch2) if (APPLE) # OSX builds targeting OSX 10.9 do not support new std::uncought_exception() # see https://github.com/catchorg/Catch2/issues/1218 - target_compile_definitions(Catch2 PUBLIC -DCATCH_CONFIG_NO_CPP17_UNCAUGHT_EXCEPTIONS) + target_compile_definitions(Catch2 INTERFACE -DCATCH_CONFIG_NO_CPP17_UNCAUGHT_EXCEPTIONS) endif() include(Catch) |