Remove explicit Boost::system dependency from our cmake

Boost::system is only used transitively by the other Boost libraries, so
their CMake will include it when it is needed.
This commit is contained in:
Ian McInerney 2023-03-11 13:29:58 +00:00
parent e20b33cb66
commit 8f2a453d07
9 changed files with 1 additions and 9 deletions

View File

@ -779,7 +779,7 @@ set( BOOST_REQUESTED_COMPONENTS locale ) # locale is required by nanoodbc/dat
if( KICAD_BUILD_QA_TESTS )
# required by the unit test framework
list( APPEND BOOST_REQUESTED_COMPONENTS unit_test_framework system )
list( APPEND BOOST_REQUESTED_COMPONENTS unit_test_framework )
endif()
find_package( Boost 1.71.0 REQUIRED COMPONENTS ${BOOST_REQUESTED_COMPONENTS} )

View File

@ -76,6 +76,5 @@ target_link_libraries( libeval_compiler_test
pcbcommon
Boost::headers
Boost::unit_test_framework
Boost::system
${wxWidgets_LIBRARIES}
)

View File

@ -66,6 +66,5 @@ target_link_libraries( test_window
${PCBNEW_IO_LIBRARIES}
Boost::headers
Boost::unit_test_framework
Boost::system
${wxWidgets_LIBRARIES}
)

View File

@ -86,7 +86,6 @@ target_link_libraries( qa_common
qa_utils
Boost::headers
Boost::unit_test_framework
Boost::system
${wxWidgets_LIBRARIES}
)

View File

@ -132,7 +132,6 @@ PRIVATE
${GDI_PLUS_LIBRARIES}
Boost::headers
Boost::unit_test_framework
Boost::system
)
if( KICAD_SPICE AND KICAD_SPICE_QA AND MSVC )

View File

@ -70,7 +70,6 @@ target_link_libraries( qa_gerbview
${PYTHON_LIBRARIES}
Boost::headers
Boost::unit_test_framework
Boost::system
${PCBNEW_EXTRA_LIBS} # -lrt must follow Boost
)

View File

@ -72,7 +72,6 @@ target_link_libraries( qa_kimath
kimath
Boost::headers
Boost::unit_test_framework
Boost::system
${wxWidgets_LIBRARIES}
)

View File

@ -36,7 +36,6 @@ target_link_libraries( qa_sexpr
qa_utils
Boost::headers
Boost::unit_test_framework
Boost::system
${wxWidgets_LIBRARIES}
)

View File

@ -120,7 +120,6 @@ target_link_libraries( qa_pcbnew
${PYTHON_LIBRARIES}
Boost::headers
Boost::unit_test_framework
Boost::system
${PCBNEW_EXTRA_LIBS} # -lrt must follow Boost
)