From 38fec9cc4ab012ca1cdb3dd30a663fbf61ca60b0 Mon Sep 17 00:00:00 2001 From: Serguei Kalentchouk Date: Mon, 8 May 2023 21:46:16 -0700 Subject: [PATCH] Fixed separator in CMAKE_INSTALL_RPATH --- src/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 0ed7eeafff..b9674656ca 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -103,9 +103,9 @@ endif() if(ALICEVISION_USE_RPATH) if(APPLE) set(CMAKE_MACOSX_RPATH 1) - set(CMAKE_INSTALL_RPATH "@loader_path/../${CMAKE_INSTALL_LIBDIR}:@loader_path") + set(CMAKE_INSTALL_RPATH "@loader_path/../${CMAKE_INSTALL_LIBDIR};@loader_path") elseif(UNIX) - set(CMAKE_INSTALL_RPATH "\\$ORIGIN/../${CMAKE_INSTALL_LIBDIR}:\\$ORIGIN") + set(CMAKE_INSTALL_RPATH "\\$ORIGIN/../${CMAKE_INSTALL_LIBDIR};\\$ORIGIN") endif() endif()