diff options
author | Hoa V. DINH <dinh.viet.hoa@gmail.com> | 2014-01-08 21:05:57 -0800 |
---|---|---|
committer | Hoa V. DINH <dinh.viet.hoa@gmail.com> | 2014-01-08 21:05:57 -0800 |
commit | a14de1c4ef5906f68e890635ae56aa4db2c0cde1 (patch) | |
tree | 002f8dcb62c63162534176e186ff8af09d25b673 /tests | |
parent | 46d412f1f057cfc0d138f3c16b5033310fe694af (diff) |
Fixed build
Diffstat (limited to 'tests')
-rw-r--r-- | tests/CMakeLists.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 61fa7120..feee7d2c 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -10,5 +10,10 @@ find_library(SECURITYFRAMEWORK NAMES Security) find_library(CORESERVICESFRAMEWORK NAMES CoreServices) add_executable (tests main.mm test-all.mm) -target_link_libraries (tests MailCore z etpan xml2 icudata icui18n icuuc sasl2 iconv tidy ctemplate ssl crypto +if(APPLE) + set(ICU_LIBRARIES icucore) +else() + set(ICU_LIBRARIES icudata icui18n icuuc) +endif() +target_link_libraries (tests MailCore z etpan xml2 sasl2 iconv tidy ctemplate ssl crypto ${ICU_LIBRARIES} ${FOUNDATIONFRAMEWORK} ${SECURITYFRAMEWORK} ${CORESERVICESFRAMEWORK}) |