Commit 1ce9e29a authored by jperaldi's avatar jperaldi

enabling NR/TTCN to be set through env variable to ease Sequans package generation

parent 3f768126
......@@ -2761,11 +2761,16 @@ target_link_libraries (lte-uesoftmodem pthread m CONFIG_LIB rt crypt ${CRYPTO_LI
target_link_libraries (lte-uesoftmodem ${LIB_LMS_LIBRARIES})
target_link_libraries (lte-uesoftmodem lttng-ust)
target_link_libraries (lte-uesoftmodem ${T_LIB})
target_link_libraries (lte-uesoftmodem lttng-ust)
# nr-softmodem
###################################################
if ($ENV{NR_ENABLE})
add_boolean_option(NR_ENABLE TRUE "Flag for NR compilation")
else()
add_boolean_option(NR_ENABLE FALSE "Flag for NR compilation")
endif()
add_boolean_option(NR_ENABLE False "Flag for NR compilation")
Message("NR_ENABLE flag is ${NR_ENABLE}")
add_executable(nr-softmodem
......@@ -2801,6 +2806,7 @@ target_link_libraries (nr-softmodem
X2AP_LIB X2AP_ENB F1AP_LIB F1AP M2AP_LIB M2AP_ENB M3AP_LIB M3AP_ENB ${FSPT_MSG_LIB}
-Wl,--end-group z dl)
target_link_libraries (nr-softmodem lttng-ust)
target_link_libraries (nr-softmodem ${LIBXML2_LIBRARIES})
target_link_libraries (nr-softmodem pthread m CONFIG_LIB rt crypt ${CRYPTO_LIBRARIES} ${OPENSSL_LIBRARIES} sctp ${XFORMS_LIBRARIES} ${PROTOBUF_LIB} ${CMAKE_DL_LIBS} ${LIBYAML_LIBRARIES} ${ATLAS_LIBRARIES})
target_link_libraries (nr-softmodem ${LIB_LMS_LIBRARIES})
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment