Fix Simplify build_options.cmake
##########################################################################
# Link the RTEMS BSP with the "rtemscpu" system library
-if(CMAKE_SYSTEM_VERSION GREATER 5)
target_link_libraries(osal_bsp
rtemscpu
- networking
)
-else()
+
+# Add the networking library for RTEMS 6+
+if(CMAKE_SYSTEM_VERSION GREATER 5)
target_link_libraries(osal_bsp
- rtemscpu
+ networking
)
endif(CMAKE_SYSTEM_VERSION GREATER 5)
