CMake: Force CONFIG lookup for Boost discovery

This commit is contained in:
Tony Wasserka 2024-03-08 15:56:47 +01:00
parent 28f5973e85
commit ddbce2861e

View file

@ -34,7 +34,7 @@ add_definitions(-DBOOST_FILESYSTEM_NO_DEPRECATED -DBOOST_COROUTINES_NO_DEPRECATI
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -fstrict-aliasing -Wpedantic -Wfatal-errors -Wdocumentation")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -fstrict-aliasing -Wpedantic")
find_package(Boost 1.80.0 EXACT REQUIRED)
find_package(Boost 1.80.0 EXACT REQUIRED CONFIG)
find_package(fmt REQUIRED)