Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authortamasmeszaros <meszaros.q@gmail.com>2019-10-04 12:08:46 +0300
committertamasmeszaros <meszaros.q@gmail.com>2019-10-04 12:08:46 +0300
commitdf7c886fe690f2a42b75109400d88d7cc97d58d2 (patch)
tree8c9558f70c0533a8a46fd94cc33c9e9ffda5963b /tests
parentfe7f2e4d95155f6f79a194f52fd1b8e2af0c50eb (diff)
Apply Mac specific caveats on the test build script.
Diffstat (limited to 'tests')
-rw-r--r--tests/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 9c4a75857..1a447a75b 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -15,6 +15,10 @@ target_compile_definitions(test_catch2_common INTERFACE TEST_DATA_DIR="${TEST_DA
target_link_libraries(test_catch2_common INTERFACE Catch2::Catch2)
add_library(test_common INTERFACE)
+if (APPLE)
+ target_link_libraries(test_common INTERFACE "-liconv -framework IOKit" "-framework CoreFoundation" -lc++)
+endif()
+
target_link_libraries(test_common INTERFACE test_catch2_common)
# DEPRECATED: