mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-13 19:07:57 +00:00
Try rpath fix for shared build
This commit is contained in:
@@ -38,6 +38,10 @@ add_library(IfcParse ${IFCPARSE_FILES})
|
||||
set_target_properties(IfcParse PROPERTIES
|
||||
OUTPUT_NAME "ifcopenshell.parse"
|
||||
)
|
||||
|
||||
if((NOT WIN32) AND BUILD_SHARED_LIBS AND NOT WASM_BUILD AND NOT CREATE_BUNDLE AND NOT CMAKE_INSTALL_RPATH AND COMMAND SET_INSTALL_SELF_RPATH)
|
||||
SET_INSTALL_SELF_RPATH(IfcParse)
|
||||
endif()
|
||||
target_compile_definitions(IfcParse PUBLIC ${SCHEMA_DEFINITIONS})
|
||||
if(USE_MMAP)
|
||||
target_compile_definitions(IfcParse PUBLIC USE_MMAP)
|
||||
|
||||
Reference in New Issue
Block a user