Displaying 1 result from an estimated 1 matches for "cmake_install_name_dir".
2015 Dec 26
2
[CMake] Hardcoded rpath?
..."@rpath/libc++abi.1.dylib", resulting in a dyld error. The issue can be found at https://github.com/Homebrew/homebrew/issues/47149
From what I can tell, this is a result of lines 561-564 of the CMakeLists.txt in the main LLVM repo:
set(CMAKE_BUILD_WITH_INSTALL_RPATH ON)
if (APPLE)
set(CMAKE_INSTALL_NAME_DIR "@rpath")
set(CMAKE_INSTALL_RPATH "@executable_path/../lib")
Is there a reason these variables are hardcoded?
-Alex