From 7c43c127663bf0c17d105848b1264c892fe8c31b Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Tue, 15 Sep 2026 16:29:56 +0500 Subject: [PATCH] cmake: remove mention of `Boost_LIBRARY_DIRS` Only used by ifcmax, which is mostly dead and can use `Boost_LIBRARIES`. --- cmake/CMakeLists.txt | 1 - src/ifcmax/CMakeLists.txt | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index 14ca2feb01..6f99406a94 100644 --- a/cmake/CMakeLists.txt +++ b/cmake/CMakeLists.txt @@ -390,7 +390,6 @@ endif() find_package(Boost REQUIRED COMPONENTS ${BOOST_COMPONENTS}) message(STATUS "Boost include files found in ${Boost_INCLUDE_DIRS}") -message(STATUS "Boost libraries found in ${Boost_LIBRARY_DIRS}") if(COLLADA_SUPPORT) find_package(OpenCOLLADA REQUIRED) diff --git a/src/ifcmax/CMakeLists.txt b/src/ifcmax/CMakeLists.txt index 0e581e2927..4fd401c99a 100644 --- a/src/ifcmax/CMakeLists.txt +++ b/src/ifcmax/CMakeLists.txt @@ -47,7 +47,6 @@ if(HAS_MAX) ${IfcOpenShell_BINARY_DIR} ${OPENCOLLADA_LIBRARY_DIR} ${ICU_LIBRARY_DIR} - ${Boost_LIBRARY_DIRS} ${max_sdk}/lib/x64/Release ) @@ -57,6 +56,7 @@ if(HAS_MAX) target_link_libraries( IfcMax_${max_year} ${IFCOPENSHELL_LIBRARIES} + ${Boost_LIBRARIES} bmm.lib Comctl32.lib core.lib