Skip to content

Commit

Permalink
fix-cmake-boost-1-70+ (slic3r#4980)
Browse files Browse the repository at this point in the history
  • Loading branch information
Oekn5w authored and ahlers committed Oct 14, 2021
1 parent 3bfb870 commit 1cbdf59
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ ENDIF(CMAKE_HOST_APPLE)
set(Boost_USE_STATIC_LIBS ON)
set(Boost_USE_STATIC_RUNTIME ON)
set(CMAKE_FIND_LIBRARY_SUFFIXES ".a")
find_package(Boost COMPONENTS system thread filesystem)
set(Boost_NO_BOOST_CMAKE ON)
find_package(Boost REQUIRED COMPONENTS system thread filesystem)

set(LIBDIR ${CMAKE_CURRENT_SOURCE_DIR}/../xs/src/)

Expand Down

0 comments on commit 1cbdf59

Please sign in to comment.