Skip to content

Commit

Permalink
Fix Boost import.
Browse files Browse the repository at this point in the history
  • Loading branch information
wzf03 committed Mar 1, 2024
1 parent b80ae54 commit be7fc94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unidock/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ if(FETCH_BOOST)
FetchContent_MakeAvailable(Boost)
else()
find_package(Boost 1.72 REQUIRED COMPONENTS ${REQUIRED_BOOST_COMPONENTS})
include_directories(${Boost_INCLUDE_DIRS})
endif()

# >>> Catch2
Expand All @@ -103,7 +104,6 @@ add_library(boost_deps INTERFACE)
target_link_libraries(
boost_deps INTERFACE Boost::system Boost::thread Boost::serialization
Boost::filesystem Boost::program_options Boost::timer)
target_include_directories(boost_deps PUBLIC ${Boost_INCLUDE_DIRS})

add_library(
lib OBJECT
Expand Down

0 comments on commit be7fc94

Please sign in to comment.