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