diff options
author | Yuri Gorshenin <y@maps.me> | 2017-02-28 17:42:49 +0300 |
---|---|---|
committer | Sergey Yershov <syershov@maps.me> | 2017-02-28 21:00:37 +0300 |
commit | f36d72bb26c43cb977116494dab611d239ee21d2 (patch) | |
tree | a4e673fb1e70513d69053aa47f8ec4ee4ea6cbaa /traffic | |
parent | f9835819217e32bc881f5c1ee67477ed07e3b49c (diff) |
[build] Use system-provided boost instead of 3party.beta-655
Diffstat (limited to 'traffic')
-rw-r--r-- | traffic/pytraffic/CMakeLists.txt | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/traffic/pytraffic/CMakeLists.txt b/traffic/pytraffic/CMakeLists.txt index 739c58fa91..b08f15fec9 100644 --- a/traffic/pytraffic/CMakeLists.txt +++ b/traffic/pytraffic/CMakeLists.txt @@ -7,21 +7,7 @@ set( bindings.cpp ) -# Suppress boost-python warnings -add_compile_options( - "-Wno-unused-local-typedef" -) - -set(Boost_USE_MULTITHREADED ON) - -# For macOS we can use static linking, on Linux we can't. -if (PLATFORM_MAC) - set(Boost_USE_STATIC_LIBS ON) - set(Boost_USE_STATIC_RUNTIME ON) -endif() - find_package(PythonLibs 2.7 REQUIRED) -find_package(Boost 1.54 REQUIRED COMPONENTS python) include_directories(${PYTHON_INCLUDE_DIRS}) add_library(${PROJECT_NAME} MODULE ${SRC}) |