From 3c717026ce235bd94e4f4e7c7b56472e412d4dce Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Tue, 4 Aug 2026 22:01:54 +0500 Subject: [PATCH] ifcwrap/cmake: add missing `geometry_serializer` runtime target installation Caused errors like so: ``` Traceback (most recent call last): File "/__w/IfcOpenShell/IfcOpenShell/build/Linux/x86_64/install/python-3.13.6/lib/python3.13/site-packages/ifcopenshell/__init__.py", line 87, in from . import ifcopenshell_wrapper File "/__w/IfcOpenShell/IfcOpenShell/build/Linux/x86_64/install/python-3.13.6/lib/python3.13/site-packages/ifcopenshell/ifcopenshell_wrapper.py", line 10, in from . import _ifcopenshell_wrapper ImportError: libifcopenshell.geometry.writer.so: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "", line 1, in import inspect, ifcopenshell; print(inspect.getfile(ifcopenshell)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/__w/IfcOpenShell/IfcOpenShell/build/Linux/x86_64/install/python-3.13.6/lib/python3.13/site-packages/ifcopenshell/__init__.py", line 89, in raise ImportError("IfcOpenShell not built for '%s' (%s)" % (python_distribution, e)) from e ImportError: IfcOpenShell not built for 'linux/64bit/python3.13' (libifcopenshell.geometry.writer.so: cannot open shared object file: No such file or directory) ``` --- src/ifcwrap/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ifcwrap/CMakeLists.txt b/src/ifcwrap/CMakeLists.txt index e05e04de21..01fe458792 100644 --- a/src/ifcwrap/CMakeLists.txt +++ b/src/ifcwrap/CMakeLists.txt @@ -306,6 +306,7 @@ IF(Python_Interpreter_FOUND OR PYTHON_MODULE_INSTALL_DIR) ${kernel_libraries} ${tree_libraries} ${mapping_libraries} + geometry_serializer ${geometry_serializer_libraries} ${document_serializer_libraries} ${linework_processing_libraries}