Apply Mac specific caveats on the test build script.

This commit is contained in:
tamasmeszaros 2019-10-04 11:08:46 +02:00
parent fe7f2e4d95
commit df7c886fe6

View File

@ -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: