From 603887407a29707346ae84c23fcef5ee297cca4f Mon Sep 17 00:00:00 2001 From: greshilov Date: Tue, 15 May 2018 15:43:35 +0300 Subject: [PATCH] [cmake] Fix pybindings --- kml/pykmlib/CMakeLists.txt | 5 +++++ search/pysearch/CMakeLists.txt | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/kml/pykmlib/CMakeLists.txt b/kml/pykmlib/CMakeLists.txt index 27983e0870..34994a0399 100644 --- a/kml/pykmlib/CMakeLists.txt +++ b/kml/pykmlib/CMakeLists.txt @@ -26,4 +26,9 @@ omim_link_libraries( stats_client ) +if (PLATFORM_MAC) + omim_link_libraries(${PROJECT_NAME} ${LIBZ}) + link_qt5_core(${PROJECT_NAME}) +endif() + set_target_properties(${PROJECT_NAME} PROPERTIES PREFIX "") diff --git a/search/pysearch/CMakeLists.txt b/search/pysearch/CMakeLists.txt index 8719049beb..32cfb5c975 100644 --- a/search/pysearch/CMakeLists.txt +++ b/search/pysearch/CMakeLists.txt @@ -1,7 +1,5 @@ project(pysearch) -add_definitions(-DBOOST_BIND_NO_PLACEHOLDERS) - set( SRC bindings.cpp