mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-28 22:32:01 +08:00
Fixed previous commit (change of CMake)
This commit is contained in:
parent
4473254779
commit
220e2dbfec
@ -11,7 +11,7 @@ add_library(Catch2::Catch2 ALIAS Catch2)
|
|||||||
if (APPLE)
|
if (APPLE)
|
||||||
# OSX builds targeting OSX 10.9 do not support new std::uncought_exception()
|
# OSX builds targeting OSX 10.9 do not support new std::uncought_exception()
|
||||||
# see https://github.com/catchorg/Catch2/issues/1218
|
# 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()
|
endif()
|
||||||
include(Catch)
|
include(Catch)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user