Merge pull request #4741 from therearesomewhocallmetim/cmake_fix

Fixed the cmake compilation
This commit is contained in:
Sergey Yershov 2016-11-17 18:23:27 +03:00 committed by GitHub
commit f42d8f123c
5 changed files with 12 additions and 5 deletions

View file

@ -158,7 +158,6 @@ add_subdirectory(editor)
add_subdirectory(indexer)
add_subdirectory(routing)
add_subdirectory(search)
add_subdirectory(traffic)
add_subdirectory(tracking)
add_subdirectory(traffic)
add_subdirectory(partners_api)

View file

@ -16,7 +16,6 @@ omim_link_libraries(
platform
coding
base
tomcrypt
jansson
stats_client
${LIBZ}

View file

@ -11,4 +11,4 @@ set(
add_library(${PROJECT_NAME} ${SRC})
add_subdirectory(pytraffic)
#add_subdirectory(traffic_tests)
add_subdirectory(traffic_tests)

View file

@ -44,5 +44,14 @@ if (PLATFORM_WIN OR PLATFORM_LINUX)
)
endif()
omim_link_libraries(${PROJECT_NAME} ${PYTHON_LIBRARIES} ${Boost_LIBRARIES} traffic platform geometry base)
omim_link_libraries(
${PROJECT_NAME}
${PYTHON_LIBRARIES}
${Boost_LIBRARIES}
traffic
platform
geometry
base
)
set_target_properties(${PROJECT_NAME} PROPERTIES PREFIX "")

View file

@ -22,8 +22,8 @@ omim_link_libraries(
geometry
base
stats_client
tomcrypt
${Qt5Core_LIBRARIES}
${LIBZ}
)
if (PLATFORM_MAC)