Remove Boost.Math from COMPONENTS when finding boost in config mode

This commit is contained in:
Nikita Lisitsa 2026-06-30 13:52:38 +03:00
parent 500646bfe9
commit e5d356e1fc

View file

@ -1,4 +1,6 @@
find_package(Boost COMPONENTS math REQUIRED CONFIG) # Boost.Math is header-only
# Required for statistics.hpp
find_package(Boost REQUIRED CONFIG)
file(GLOB_RECURSE PSEMEK_UTIL_HEADERS RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "include/*.hpp") file(GLOB_RECURSE PSEMEK_UTIL_HEADERS RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "include/*.hpp")
file(GLOB_RECURSE PSEMEK_UTIL_SOURCES RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "source/*.cpp") file(GLOB_RECURSE PSEMEK_UTIL_SOURCES RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "source/*.cpp")