diff options
author | Timofey <t.danshin@corp.mail.ru> | 2016-11-23 13:37:06 +0300 |
---|---|---|
committer | Timofey <t.danshin@corp.mail.ru> | 2016-11-23 13:37:06 +0300 |
commit | 9517d5779c778af46615fdfbe518d61c07df5102 (patch) | |
tree | 585bfc6f00aeebf4f5f30753b58c411740b32751 | |
parent | c207d60504144ec9ed2a3dfa46068dccb7c29ffd (diff) |
PR recommendations
-rw-r--r-- | CMakeLists.txt | 5 | ||||
-rw-r--r-- | partners_api/partners_api_tests/CMakeLists.txt | 16 |
2 files changed, 4 insertions, 17 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 484181ffe9..4a1343f74a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -109,15 +109,14 @@ function(omim_link_platform_deps target) if (PLATFORM_MAC) target_link_libraries( ${target} - "-framework Cocoa" - "-framework QuartzCore" + "-framework CFNetwork" + "-framework Foundation" "-framework SystemConfiguration" ) endif() endif() endfunction() - function(omim_link_libraries target) if (TARGET ${target}) target_link_libraries(${target} ${ARGN} ${CMAKE_THREAD_LIBS_INIT}) diff --git a/partners_api/partners_api_tests/CMakeLists.txt b/partners_api/partners_api_tests/CMakeLists.txt index 5fb1125894..2a35a1d0ae 100644 --- a/partners_api/partners_api_tests/CMakeLists.txt +++ b/partners_api/partners_api_tests/CMakeLists.txt @@ -20,18 +20,6 @@ omim_link_libraries( stats_client ${LIBZ} ${Qt5Core_LIBRARIES} + ${Qt5Widgets_LIBRARIES} + ${Qt5Network_LIBRARIES} ) - -if (PLATFORM_MAC) - omim_link_libraries( - ${PROJECT_NAME} - ${Qt5Widgets_LIBRARIES} - ) -endif() - -if (PLATFORM_LINUX OR PLATFORM_WIN) - omim_link_libraries( - ${PROJECT_NAME} - ${Qt5Network_LIBRARIES} - ) -endif() |