mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-22 14:17:59 +00:00
cmake: export document_serializer_rdb
There was an error building a standalone ifcwrap when previously built IfcOpenShell had rocksdb - `_ifcopenshell_wrapper.cpython-314-x86_64-linux-gnu.so: undefined symbol: _ZTV17RocksDbSerializer`. `IFOPSH_WITH_ROCKSDB` propagated to the build, requiring rocksdb symbols, but `WITH_ROCKSDB` wasn't set and `document_serializer_rdb` target wasn't provided.
This commit is contained in:
@@ -59,6 +59,8 @@ endfunction()
|
||||
|
||||
if(WITH_ROCKSDB)
|
||||
add_document_serializer_plugin(document_serializer_rdb "document.rdb" SOURCES document_rdb_plugin.cpp rocks_db_serializer.cpp LIBRARIES ${IFCOPENSHELL_ROCKSDB_TARGET})
|
||||
# Still not fully a plugin and ifcwrap depends on it directly.
|
||||
install(TARGETS document_serializer_rdb EXPORT ${IFCOPENSHELL_EXPORT_TARGETS})
|
||||
endif()
|
||||
|
||||
add_subdirectory(schema_dependent)
|
||||
|
||||
Reference in New Issue
Block a user