PR recommendations

This commit is contained in:
Timofey 2016-11-23 13:37:06 +03:00
parent c207d60504
commit 9517d5779c
2 changed files with 4 additions and 17 deletions

View file

@ -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})

View file

@ -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()