Skip to content

Commit

Permalink
add DESTINATION, update RPATH
Browse files Browse the repository at this point in the history
  • Loading branch information
ajschmidt8 committed Feb 4, 2022
1 parent ba09f95 commit 11ab457
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions cpp/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -136,11 +136,12 @@ function(ConfigureTest CMAKE_TEST_NAME)

set_target_properties(
${CMAKE_TEST_NAME}
PROPERTIES INSTALL_RPATH "\$ORIGIN/../lib")
PROPERTIES INSTALL_RPATH "\$ORIGIN/../../../lib")

install(
TARGETS ${CMAKE_TEST_NAME}
COMPONENT testing
DESTINATION bin/gtests/libcugraph
EXCLUDE_FROM_ALL)
endfunction()

Expand Down Expand Up @@ -222,11 +223,12 @@ function(ConfigureTestMG CMAKE_TEST_NAME)

set_target_properties(
${CMAKE_TEST_NAME}
PROPERTIES INSTALL_RPATH "\$ORIGIN/../lib")
PROPERTIES INSTALL_RPATH "\$ORIGIN/../../../lib")

install(
TARGETS ${CMAKE_TEST_NAME}
COMPONENT testing
DESTINATION bin/gtests/libcugraph_mg
EXCLUDE_FROM_ALL)
endfunction()

Expand All @@ -247,11 +249,12 @@ function(ConfigureCTest CMAKE_TEST_NAME)

set_target_properties(
${CMAKE_TEST_NAME}
PROPERTIES INSTALL_RPATH "\$ORIGIN/../lib")
PROPERTIES INSTALL_RPATH "\$ORIGIN/../../../lib")

install(
TARGETS ${CMAKE_TEST_NAME}
COMPONENT testing
DESTINATION bin/gtests/libcugraph_c
EXCLUDE_FROM_ALL)
endfunction()

Expand Down

0 comments on commit 11ab457

Please sign in to comment.