Skip to content

Commit

Permalink
[#293] Update to CmakeLists.txt - Allows for more flexibility in Inst…
Browse files Browse the repository at this point in the history
…all Path
  • Loading branch information
rjbrown6 committed Sep 11, 2024
1 parent 5dadca4 commit 137c280
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 137c280

Please sign in to comment.