|
|
@ -119,7 +119,9 @@ if(RF_FOUND)
|
|
|
|
add_library(srsran_rf_object OBJECT ${SOURCES_RF})
|
|
|
|
add_library(srsran_rf_object OBJECT ${SOURCES_RF})
|
|
|
|
set_property(TARGET srsran_rf_object PROPERTY POSITION_INDEPENDENT_CODE 1)
|
|
|
|
set_property(TARGET srsran_rf_object PROPERTY POSITION_INDEPENDENT_CODE 1)
|
|
|
|
if (ENABLE_RF_PLUGINS)
|
|
|
|
if (ENABLE_RF_PLUGINS)
|
|
|
|
add_dependencies(srsran_rf_object ${DYNAMIC_PLUGINS})
|
|
|
|
if (DYNAMIC_PLUGINS)
|
|
|
|
|
|
|
|
add_dependencies(srsran_rf_object ${DYNAMIC_PLUGINS})
|
|
|
|
|
|
|
|
endif (DYNAMIC_PLUGINS)
|
|
|
|
add_library(srsran_rf SHARED $<TARGET_OBJECTS:srsran_rf_object>)
|
|
|
|
add_library(srsran_rf SHARED $<TARGET_OBJECTS:srsran_rf_object>)
|
|
|
|
target_link_libraries(srsran_rf dl)
|
|
|
|
target_link_libraries(srsran_rf dl)
|
|
|
|
# Add $ORIGIN (i.e. current location of this library) to rpath of srsran_rf.
|
|
|
|
# Add $ORIGIN (i.e. current location of this library) to rpath of srsran_rf.
|
|
|
|