[cmake] Fix qt dependency on linux

This commit is contained in:
greshilov 2018-05-21 14:17:39 +03:00 committed by Roman Kuznetsov
parent 593d7d6faa
commit a8e44c7f0e

View file

@ -26,9 +26,10 @@ omim_link_libraries(
stats_client
)
link_qt5_core(${PROJECT_NAME})
if (PLATFORM_MAC)
omim_link_libraries(${PROJECT_NAME} ${LIBZ})
link_qt5_core(${PROJECT_NAME})
endif()
set_target_properties(${PROJECT_NAME} PROPERTIES PREFIX "")