From 220e2dbfec58cbbcff548d8211a17f0dcbe32aab Mon Sep 17 00:00:00 2001 From: bubnikv Date: Sun, 22 Dec 2019 14:25:07 +0100 Subject: Fixed previous commit (change of CMake) --- tests/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3