Skip to content

Commit

Permalink
Merge pull request #384 from nasa/nos3#352
Browse files Browse the repository at this point in the history
[nasa/nos3#352] Updates to build in NOS3 RC 1.7.2;
  • Loading branch information
Donnie-Ice authored Jan 13, 2025
2 parents 1e8ab55 + e23a6e5 commit 911c886
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,6 @@ endif()
# Project Specifics
#
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Werror -g -O0")
set(CMAKE_CROSSCOMPILING "FALSE")

include_directories(include)
add_subdirectory(src)
Expand Down
7 changes: 1 addition & 6 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -128,14 +128,9 @@ endif()

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

0 comments on commit 911c886

Please sign in to comment.