Skip to content

Commit

Permalink
build boost static
Browse files Browse the repository at this point in the history
  • Loading branch information
assignUser committed Mar 15, 2024
1 parent 161f3e2 commit 2bdfeb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMake/resolve_dependency_modules/boost/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ list(APPEND BOOST_INCLUDE_LIBRARIES ${BOOST_HEADER_ONLY})

# The `headers` target is not created by Boost cmake and leads to a warning
list(REMOVE_ITEM BOOST_INCLUDE_LIBRARIES headers)
set(BUILD_SHARED_LIBS ON)
set(BUILD_SHARED_LIBS OFF)
FetchContent_MakeAvailable(Boost)

list(TRANSFORM BOOST_HEADER_ONLY PREPEND Boost::)
Expand Down

0 comments on commit 2bdfeb2

Please sign in to comment.