Move inclusion of openair2/E2AP where it belongs

This commit is contained in:
Robert Schmidt
2023-07-07 13:49:17 +02:00
parent 31b7d7c432
commit 1f14195543
2 changed files with 3 additions and 6 deletions
-6
View File
@@ -331,15 +331,9 @@ add_definitions(-DHAVE_NETINET_IN_H)
#########################
##### E2 AGENT
#########################
#add_boolean_option() does not work -- why?
set(E2_AGENT "OFF" CACHE STRING "O-RAN-compliant E2 Agent")
set_property(CACHE E2_AGENT PROPERTY STRINGS "ON" "OFF")
if(E2_AGENT)
set(E2AP_DIR ${OPENAIR2_DIR}/E2AP)
add_subdirectory ("${E2AP_DIR}")
endif()
##################################################
# ASN.1 grammar C code generation & dependencies #
##################################################
+3
View File
@@ -1,4 +1,7 @@
add_subdirectory(E1AP)
if(E2_AGENT)
add_subdirectory(E2AP)
endif()
add_subdirectory(F1AP)
add_subdirectory(M2AP)
add_subdirectory(X2AP)