diff options
author | tamasmeszaros <meszaros.q@gmail.com> | 2019-10-04 12:08:46 +0300 |
---|---|---|
committer | tamasmeszaros <meszaros.q@gmail.com> | 2019-10-04 12:08:46 +0300 |
commit | df7c886fe690f2a42b75109400d88d7cc97d58d2 (patch) | |
tree | 8c9558f70c0533a8a46fd94cc33c9e9ffda5963b /tests | |
parent | fe7f2e4d95155f6f79a194f52fd1b8e2af0c50eb (diff) |
Apply Mac specific caveats on the test build script.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/CMakeLists.txt | 4 |
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: |