mirror of
https://gitlab.eurecom.fr/oai/openairinterface5g.git
synced 2026-07-13 04:30:28 +00:00
Do not include xran internal data: not needed
This commit is contained in:
@@ -126,12 +126,9 @@ find_package_handle_standard_args(xran
|
||||
VERSION_VAR xran_VERSION
|
||||
)
|
||||
|
||||
# in proper usage of cmake, include directory should only contain "api", but not header files under "src" directory;
|
||||
# however, we use xran_dev_get_ctx() and xran_dev_get_ctx_by_id() functions which are defined in xran_common.h;
|
||||
# since xran_common.h is under "src" directory, we have to include it in ${xran_INCLUDE_DIRS}
|
||||
if(xran_FOUND)
|
||||
set(xran_LIBRARIES ${xran_LIBRARY})
|
||||
set(xran_INCLUDE_DIRS ${xran_INCLUDE_DIR} ${xran_INCLUDE_DIR}/../src)
|
||||
set(xran_INCLUDE_DIRS ${xran_INCLUDE_DIR})
|
||||
endif()
|
||||
|
||||
if(xran_FOUND AND NOT TARGET xran::xran)
|
||||
|
||||
@@ -35,7 +35,6 @@
|
||||
#include "xran_sync_api.h"
|
||||
#include "oran_isolate.h"
|
||||
#include "oran-init.h"
|
||||
#include "xran_common.h"
|
||||
#include "oaioran.h"
|
||||
#include <rte_ethdev.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user