From 08149b40ad62f031675f3251dff85f6036a3aaf8 Mon Sep 17 00:00:00 2001 From: Martin Rodriguez Reboredo Date: Sat, 21 Dec 2024 16:22:36 -0300 Subject: [PATCH] Boost configuration file in CMake --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 199062bb9..9aa47f144 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -52,7 +52,7 @@ if(NOT DEFINED CMAKE_BUILD_TYPE OR CMAKE_BUILD_TYPE STREQUAL "") message(STATUS "Setting build type to '${CMAKE_BUILD_TYPE}' as none was specified.") endif() -find_package(Boost COMPONENTS headers serialization) +find_package(Boost COMPONENTS headers serialization CONFIG) if(WIN32) # Prevent looking in the registry so that the MinGW python can be found. set(Python3_FIND_REGISTRY NEVER)