Skip to content

Commit

Permalink
Merge pull request #294 from nasa/293-update-cmake-install-path
Browse files Browse the repository at this point in the history
[#293] Update to CmakeLists.txt
  • Loading branch information
rjbrown2 authored Sep 11, 2024
2 parents 5dadca4 + 137c280 commit 8a8cf35
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,9 @@ endif()

# Create the app module
if(DEFINED CFE_SYSTEM_PSPNAME)
set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/cpu${TGTSYS_${SYSVAR}}/${INSTALL_SUBDIR}")
set(CMAKE_INSTALL_RPATH "./${INSTALL_SUBDIR}")
add_cfe_app(crypto ${LIB_SRC_FILES})
install(TARGETS crypto RUNTIME_DEPENDENCIES DESTINATION ${CMAKE_INSTALL_PREFIX}/${TGTSYS_${SYSVAR}}/${INSTALL_SUBDIR})
else()
# Standalone build
add_library(crypto SHARED ${LIB_SRC_FILES})
Expand Down

0 comments on commit 8a8cf35

Please sign in to comment.