feat(oran_fhlib_5g): Make E release patch dual
Update the xran E release patch to work for Arm targets in addition to x86 targets. Co-authored-by: Yi-Hung Chang <Yi-Hung.Chang@eurecom.fr> Co-authored-by: brobert <brobert@valiha.com>
This commit is contained in:
co-authored by
Yi-Hung Chang
brobert
parent
db27b09b7c
commit
047e80f070
File diff suppressed because it is too large
Load Diff
@@ -17,12 +17,12 @@ add_library(oran_fhlib_5g MODULE
|
||||
)
|
||||
|
||||
find_package(xran REQUIRED)
|
||||
if(xran_VERSION VERSION_EQUAL 5.1.4)
|
||||
if(xran_VERSION VERSION_EQUAL 5.1.5)
|
||||
target_compile_definitions(oran_fhlib_5g PRIVATE E_RELEASE)
|
||||
elseif(xran_VERSION VERSION_EQUAL 6.1.1)
|
||||
target_compile_definitions(oran_fhlib_5g PRIVATE F_RELEASE)
|
||||
else()
|
||||
message(FATAL_ERROR "Found xran version ${xran_VERSION} but needed 5.1.4 (E release) or 6.1.1 (F release)")
|
||||
message(FATAL_ERROR "Found xran version ${xran_VERSION} but needed 5.1.5 (E release) or 6.1.1 (F release)")
|
||||
endif()
|
||||
|
||||
# Ignore xran-specific warning: we don't care/can't change the following warning, so suppress
|
||||
|
||||
Reference in New Issue
Block a user