Skip to content

Commit ccc6db9

Browse files
authored
Separate rpath for build scenario (#595)
1 parent 3dd533a commit ccc6db9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cmake/configure.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,9 @@ if(USE_COVERAGE)
3535
else()
3636
set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")
3737
endif()
38+
set(CMAKE_BUILD_RPATH "${CMAKE_BINARY_DIR}/ppc_onetbb/install/lib")
3839

39-
set(CMAKE_BUILD_WITH_INSTALL_RPATH ON)
40+
set(CMAKE_BUILD_WITH_INSTALL_RPATH OFF)
4041
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH ON)
4142
set(CMAKE_SKIP_BUILD_RPATH OFF)
4243

0 commit comments

Comments
 (0)