From c7b2a1a4e9756c5ac6ea97712e3f8c3cde042497 Mon Sep 17 00:00:00 2001 From: "Hoa V. DINH" Date: Sun, 26 Oct 2014 15:47:53 -0700 Subject: Fixed CMake build --- tests/CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests') diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 61fa7120..289feb82 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -1,8 +1,8 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR}/../src/include) link_directories( - ${CMAKE_CURRENT_SOURCE_DIR}/../Externals/ctemplate/lib - ${CMAKE_CURRENT_SOURCE_DIR}/../Externals/icu4c/lib - ${CMAKE_CURRENT_SOURCE_DIR}/../Externals/libetpan/lib + ${CMAKE_CURRENT_SOURCE_DIR}/../Externals/ctemplate-osx/lib + ${CMAKE_CURRENT_SOURCE_DIR}/../Externals/uchardet-osx/lib + ${CMAKE_CURRENT_SOURCE_DIR}/../Externals/libetpan-osx/lib ) find_library(FOUNDATIONFRAMEWORK NAMES Foundation) @@ -10,5 +10,5 @@ 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 +target_link_libraries (tests MailCore z etpan xml2 uchardet sasl2 iconv tidy ctemplate ssl crypto ${FOUNDATIONFRAMEWORK} ${SECURITYFRAMEWORK} ${CORESERVICESFRAMEWORK}) -- cgit v1.2.3