From e4c49ce57bfd760c368be5a2a39f9130f0e2fe58 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Fri, 31 Oct 2025 17:11:17 +0500 Subject: [PATCH] Fix missing Serializers target when building just IfcGeomServer Noticed testing command from #7277. I believe Serializers it not actually needed to build IfcGeomServer. Example error: ``` /usr/bin/ld: cannot find -lSerializers: No such file or directory ``` --- cmake/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index 49d17c2cd6..c4f8d0aad2 100644 --- a/cmake/CMakeLists.txt +++ b/cmake/CMakeLists.txt @@ -1309,7 +1309,7 @@ if(BUILD_GEOMSERVER) file(GLOB H_FILES ../src/ifcgeomserver/*.h) set(SOURCE_FILES ${CPP_FILES} ${H_FILES}) add_executable(IfcGeomServer ${SOURCE_FILES}) - target_link_libraries(IfcGeomServer IfcGeom IfcParse Serializers ${kernel_libraries} ${OPENCASCADE_LIBRARIES} ${Boost_LIBRARIES}) + target_link_libraries(IfcGeomServer IfcGeom IfcParse ${kernel_libraries} ${OPENCASCADE_LIBRARIES} ${Boost_LIBRARIES}) if((NOT WIN32) AND BUILD_SHARED_LIBS) SET_INSTALL_RPATHS(IfcGeomServer "${IFCOPENSHELL_LIBRARY_DIR};${OCC_LIBRARY_DIR};${Boost_LIBRARY_DIRS}")