diff options
author | Yuri Gorshenin <y@maps.me> | 2016-12-21 12:40:22 +0300 |
---|---|---|
committer | Yuri Gorshenin <y@maps.me> | 2016-12-21 13:12:58 +0300 |
commit | d9b6547fa2967aaa5bebcae00346b3f305c094b5 (patch) | |
tree | 3960c16be68cfa5a9577b9388db9d751c86bbbaf /CMakeLists.txt | |
parent | 07e5667c43f4cb768269b1918bfa7786341891f5 (diff) |
[cmake] Added CMakeLists for generator_tests_support and libtess2.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 7734b203dd..e23f617301 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -61,6 +61,12 @@ endif() omim_set_platform_var(PLATFORM_LINUX "linux-.*" ${LINUX_DETECTED}) +if (PLATFORM_LINUX OR PLATFORM_MAC OR PLATFORM_WIN) + set(PLATFORM_DESKTOP TRUE) +else() + set(PLATFORM_DESKTOP FALSE) +endif() + # End of setting the target platform # Find installed packages @@ -153,6 +159,7 @@ add_subdirectory(3party/minizip) add_subdirectory(3party/freetype) add_subdirectory(3party/fribidi) add_subdirectory(3party/expat) +add_subdirectory(3party/libtess2) add_subdirectory(map) add_subdirectory(drape) @@ -182,6 +189,10 @@ add_subdirectory(tracking) add_subdirectory(traffic) add_subdirectory(partners_api) +if (PLATFORM_DESKTOP) + add_subdirectory(generator) +endif() + omim_add_test_subdirectory(qt_tstfrm) omim_add_test_subdirectory(3party/gmock) |