Skip to content

Commit

Permalink
Fix #1256, Simplify build_options.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
alanc-gsfc committed May 26, 2022
1 parent 07ff93c commit cae3e49
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/bsp/pc-rtems/build_options.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
##########################################################################

# Link the RTEMS BSP with the "rtemscpu" system library
target_link_libraries(osal_bsp
rtemscpu
)

# Add the networking library for RTEMS 6+
if(CMAKE_SYSTEM_VERSION GREATER 5)
target_link_libraries(osal_bsp
rtemscpu
networking
)
else()
target_link_libraries(osal_bsp
rtemscpu
)
endif(CMAKE_SYSTEM_VERSION GREATER 5)

0 comments on commit cae3e49

Please sign in to comment.