mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-13 08:09:39 +00:00
fix rpath when libdir is not named 'lib'
This commit is contained in:
parent
557104ed7e
commit
6f29486ca7
@ -60,7 +60,7 @@ if (MESHLAB_USE_DEFAULT_BUILD_AND_INSTALL_DIRS) # otherwise, we assume that all
|
||||
|
||||
### Install Settings
|
||||
if (NOT APPLE)
|
||||
set(CMAKE_INSTALL_RPATH $ORIGIN/../lib/meshlab)
|
||||
set(CMAKE_INSTALL_RPATH $ORIGIN/../${MESHLAB_LIB_INSTALL_DIR})
|
||||
else()
|
||||
SET(CMAKE_INSTALL_RPATH @executable_path/../Frameworks)
|
||||
endif()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user