diff options
author | Timofey <t.danshin@corp.mail.ru> | 2016-11-03 18:34:24 +0300 |
---|---|---|
committer | Timofey <t.danshin@corp.mail.ru> | 2016-11-09 14:20:06 +0300 |
commit | 14a9cea834027fcd1c0131b13f61c0f42f6439b9 (patch) | |
tree | a13d3ed28ccbe37e58c21119e7348e8c5ee72707 /tracking/tracking_tests | |
parent | 2ec8f5f71fee1f199a702c179eb5d29b1f5806ef (diff) |
Added project declarations to subprojects
Replaced set with append
Diffstat (limited to 'tracking/tracking_tests')
-rw-r--r-- | tracking/tracking_tests/CMakeLists.txt | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/tracking/tracking_tests/CMakeLists.txt b/tracking/tracking_tests/CMakeLists.txt index 377c3a7dbb..226740f160 100644 --- a/tracking/tracking_tests/CMakeLists.txt +++ b/tracking/tracking_tests/CMakeLists.txt @@ -1,14 +1,26 @@ +project(tracking_tests) + set( SRC protocol_test.cpp reporter_test.cpp ) -omim_add_test(tracking_tests ${SRC}) -omim_link_libraries(tracking_tests tracking platform platform_tests_support coding base geometry tomcrypt ${Qt5Widgets_LIBRARIES}) +omim_add_test(${PROJECT_NAME} ${SRC}) +omim_link_libraries( + ${PROJECT_NAME} + tracking platform + platform_tests_support + coding + base + geometry + tomcrypt + ${Qt5Widgets_LIBRARIES} +) if (${PLATFORM_MAC}) - target_link_libraries(tracking_tests + omim_link_libraries( + ${PROJECT_NAME} "-framework Cocoa" "-framework IOKit" "-framework SystemConfiguration" |