Skip to content

Commit 9d21421

Browse files
committed
fix rpath in codecov
1 parent e9ff4f4 commit 9d21421

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

cmake/configure.cmake

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,13 @@ else ()
2525
endif ()
2626

2727
set(CMAKE_COMPILE_WARNING_AS_ERROR ON)
28-
set(CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/lib)
28+
29+
if (USE_COVERAGE)
30+
set(CMAKE_INSTALL_RPATH "${CMAKE_BINARY_DIR}/ppc_onetbb/install/lib")
31+
else()
32+
set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")
33+
endif ()
34+
2935
set(CMAKE_BUILD_WITH_INSTALL_RPATH ON)
3036
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH ON)
3137
set(CMAKE_SKIP_BUILD_RPATH OFF)

0 commit comments

Comments
 (0)