diff options
author | Timofey <t.danshin@corp.mail.ru> | 2016-10-07 18:33:02 +0300 |
---|---|---|
committer | Timofey <t.danshin@corp.mail.ru> | 2016-11-09 14:05:34 +0300 |
commit | 1fd8fb334571a6a74d91b02b5f1265bd4c82fc64 (patch) | |
tree | 14da50d25ed008a81f3a8dcb840232a6088c8cf0 /platform | |
parent | 05bb94f61c324c584258adf2597ff1fbee4f3258 (diff) |
Added search/search_tests
search_integration_tests are to come.
Diffstat (limited to 'platform')
-rw-r--r-- | platform/platform_tests/CMakeLists.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/platform/platform_tests/CMakeLists.txt b/platform/platform_tests/CMakeLists.txt index 31b820fea8..21cb5686d6 100644 --- a/platform/platform_tests/CMakeLists.txt +++ b/platform/platform_tests/CMakeLists.txt @@ -19,8 +19,8 @@ omim_add_test(platform_tests ${SRC}) omim_link_libraries(platform_tests platform_tests_support platform coding base jansson minizip tomcrypt ${LIBZ}) -if (${PLATFORM_MAC}) - target_link_libraries(platform_tests ${Qt5Widgets_LIBRARIES} +if (PLATFORM_MAC) + omim_link_libraries(platform_tests ${Qt5Widgets_LIBRARIES} "-framework Cocoa" "-framework IOKit" "-framework QuartzCore" @@ -28,6 +28,6 @@ if (${PLATFORM_MAC}) ) endif() -if (${PLATFORM_WIN} OR ${PLATFORM_LINUX}) - target_link_libraries(platform_tests ${Qt5Network_LIBRARIES}) +if (PLATFORM_WIN OR PLATFORM_LINUX) + omim_link_libraries(platform_tests ${Qt5Network_LIBRARIES}) endif() |