From 1e4871eed3147921a4f06f17a349021333fd1a76 Mon Sep 17 00:00:00 2001 From: sukanka Date: Sun, 16 Nov 2025 22:01:02 +0800 Subject: [PATCH] fix rpath --- cmake/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index 5d8f3171422..9a451dd910d 100644 --- a/cmake/CMakeLists.txt +++ b/cmake/CMakeLists.txt @@ -656,7 +656,7 @@ if(COLLADA_SUPPORT AND NOT OpenCOLLADA_DIR) if("${OPENCOLLADA_LIBRARY_DIR}" STREQUAL "") message(STATUS "No OpenCOLLADA library directory specified") find_library(OPENCOLLADA_FRAMEWORK_LIB NAMES OpenCOLLADAFramework - PATHS /usr/lib64/opencollada /usr/lib/opencollada /usr/lib64 /usr/lib /usr/local/lib64 /usr/local/lib) + PATHS /usr/lib/opencollada /usr/lib64/opencollada /usr/lib64 /usr/lib /usr/local/lib64 /usr/local/lib) get_filename_component(OPENCOLLADA_LIBRARY_DIR ${OPENCOLLADA_FRAMEWORK_LIB} PATH) endif() @@ -1162,7 +1162,7 @@ if(BUILD_CONVERT) # Only set RPATHs when building shared libraries (i.e. IfcParse and # IfcGeom are dynamically linked). Not necessarily a perfect solution # but probably a good indication of whether RPATHs are necessary. - SET_INSTALL_RPATHS(IfcConvert "${IFCOPENSHELL_LIBRARY_DIR};${OCC_LIBRARY_DIR};${Boost_LIBRARY_DIRS};${OPENCOLLADA_LIBRARY_DIR}") + SET_INSTALL_RPATHS(IfcConvert "${OCC_LIBRARY_DIR};${Boost_LIBRARY_DIRS};${OPENCOLLADA_LIBRARY_DIR}") endif() install(TARGETS IfcConvert