Skip to content

Commit 022e950

Browse files
wip
1 parent 7e2b7d4 commit 022e950

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ include_directories(BEFORE ${CMAKE_CURRENT_SOURCE_DIR}/include/)
160160
include_directories(SYSTEM ${CMAKE_CURRENT_SOURCE_DIR}/generated/include/)
161161
include_directories(SYSTEM ${CMAKE_CURRENT_SOURCE_DIR}/third_party/sol2/include)
162162

163-
set(BOOST_COMPONENTS system date_time iostreams program_options thread unit_test_framework)
163+
set(BOOST_COMPONENTS system date_time iostreams program_options thread unit_test_framework zlib)
164164

165165
configure_file(
166166
${CMAKE_CURRENT_SOURCE_DIR}/include/util/version.hpp.in
@@ -351,11 +351,9 @@ find_package(TBB REQUIRED)
351351
find_package(EXPAT REQUIRED)
352352
find_package(BZip2 REQUIRED)
353353
find_package(Lua 5.2 REQUIRED)
354-
find_package(ZLIB REQUIRED)
355354

356355
if (ENABLE_CONAN)
357356
add_dependency_includes(${Boost_INCLUDE_DIRS})
358-
set(BOOST_LIBRARIES ${Boost_LIBRARIES})
359357
add_dependency_includes(${TBB_INCLUDE_DIR})
360358
set(TBB_LIBRARIES ${TBB_LIBRARIES})
361359

conanfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ class OsrmConan(ConanFile):
99
"expat/2.6.2",
1010
"lua/5.4.6",
1111
"onetbb/2021.12.0",
12-
"zlib/1.3.1"
1312
)
1413
generators = "CMakeDeps"
1514

15+
1616
def configure(self):
1717
self.options["boost"].without_python = True
1818
self.options["boost"].without_coroutine = True

0 commit comments

Comments
 (0)