Skip to content

Commit 113a924

Browse files
committed
🔥 [cmake] remove boost headers
1 parent 4a3786f commit 113a924

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

CMakeLists.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ project(Boost.DI LANGUAGES CXX)
99

1010
include(GNUInstallDirs)
1111

12-
find_package(Boost REQUIRED COMPONENTS headers)
13-
1412
set(CMAKE_CXX_STANDARD_REQUIRED ON)
1513

1614
if(NOT DEFINED CMAKE_CXX_STANDARD)
@@ -25,8 +23,6 @@ target_include_directories(
2523
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
2624
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/extension/include>
2725
)
28-
target_link_libraries(${PROJECT_NAME} INTERFACE Boost::headers)
29-
3026
option(BOOST_DI_OPT_BUILD_TESTS "Build and perform Boost.DI tests" ${PROJECT_IS_TOP_LEVEL})
3127

3228
if(BOOST_DI_OPT_BUILD_TESTS)

0 commit comments

Comments
 (0)