Skip to content

Commit e6e296a

Browse files
committed
set BUILD_RPATH_USE_ORIGIN to true
1 parent c14db3f commit e6e296a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/api_cc/tests/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
cmake_minimum_required(VERSION 3.9)
1+
cmake_minimum_required(VERSION 3.14)
22
project(deepmd_api_test)
33
set(CMAKE_LINK_WHAT_YOU_USE TRUE)
4-
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
4+
set(BUILD_RPATH_USE_ORIGIN TRUE)
55

66
if (NOT DEFINED BUILD_CPP_IF)
77
set(BUILD_CPP_IF TRUE)

0 commit comments

Comments
 (0)