diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 9c4a75857a..1a447a75b9 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: