Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Fixed typo in driver name (that's what I get for developing Swiftest …
Browse files Browse the repository at this point in the history
…and CTEM at the same time)
  • Loading branch information
daminton committed Sep 12, 2023
1 parent 2e34d23 commit 32ec06e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -224,10 +224,11 @@ INSTALL(TARGETS ${SWIFTEST_DRIVER} ${SWIFTEST_LIBRARY}
INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
)

MESSAGE(STATUS "Setting rpaths")
# the RPATH to be used when installing, but only if it's not a system directory
LIST(FIND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES "${CMAKE_INSTALL_PREFIX}/lib" isSystemDir)
IF("${isSystemDir}" STREQUAL "-1")
SET_TARGET_PROPERTIES(${CTEM_DRIVER} PROPERTIES
SET_TARGET_PROPERTIES(${SWIFTEST_DRIVER} PROPERTIES
INSTALL_RPATH_USE_LINK_PATH TRUE
INSTALL_RPATH "${lib_path}")
# The following is necessary for installation in a virtual
Expand All @@ -236,4 +237,4 @@ IF("${isSystemDir}" STREQUAL "-1")
INSTALL_RPATH_USE_LINK_PATH TRUE
INSTALL_RPATH "${lib_path}")
endif("${isSystemDir}" STREQUAL "-1")

MESSAGE(STATUS "rpaths are set")

0 comments on commit 32ec06e

Please sign in to comment.