findDependencies.cmake: no need to specify `COMPONENTS` for boost when using it header-only (#4511)
This commit is contained in:
parent
18db69c078
commit
767db58a5b
|
@ -73,7 +73,8 @@ endif()
|
|||
find_package(Threads REQUIRED)
|
||||
|
||||
if (USE_BOOST)
|
||||
find_package(Boost COMPONENTS container QUIET)
|
||||
# we are using the header-only "container" component
|
||||
find_package(Boost QUIET)
|
||||
endif()
|
||||
|
||||
find_program(LIBXML2_XMLLINT_EXECUTABLE xmllint)
|
||||
|
|
Loading…
Reference in New Issue