From eb4d98aef7e65c3d9088dfc6b7ed14cec26ec60f Mon Sep 17 00:00:00 2001 From: Martin Vassilev Date: Fri, 4 Aug 2023 16:06:54 +0300 Subject: [PATCH] Revert changes. --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8370d34d..216f67b2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -142,7 +142,7 @@ include(CheckCXXCompilerFlag) string(TOUPPER "${CMAKE_BUILD_TYPE}" U_CMAKE_BUILD_TYPE) -#set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib; ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}") +set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib; ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}") macro(xeus_cpp_set_common_options target_name) if (MSVC) @@ -167,7 +167,7 @@ macro(xeus_cpp_set_common_options target_name) if (APPLE) set_target_properties(${target_name} PROPERTIES - MACOSX_RPATH OFF + MACOSX_RPATH ON ) else () set_target_properties(${target_name} PROPERTIES