2017-05-30 06:38:04 -07:00
|
|
|
#
|
2020-03-13 04:12:52 -07:00
|
|
|
# Copyright 2013-2020 Software Radio Systems Limited
|
2017-05-30 06:38:04 -07:00
|
|
|
#
|
2020-11-26 01:25:22 -08:00
|
|
|
# By using this file, you agree to the terms and conditions set
|
|
|
|
# forth in the LICENSE file which can be found at the top level of
|
|
|
|
# the distribution.
|
2017-05-30 06:38:04 -07:00
|
|
|
#
|
|
|
|
|
|
|
|
########################################################################
|
2017-06-02 02:53:51 -07:00
|
|
|
# Boost is required
|
2017-05-30 06:38:04 -07:00
|
|
|
########################################################################
|
|
|
|
if(NOT Boost_FOUND)
|
2017-06-02 02:53:51 -07:00
|
|
|
message(FATAL_ERROR "Boost required to compile srsUE and ")
|
2017-05-30 06:38:04 -07:00
|
|
|
endif()
|
|
|
|
|
|
|
|
########################################################################
|
|
|
|
# Setup the include and linker paths
|
|
|
|
########################################################################
|
|
|
|
include_directories(
|
|
|
|
${Boost_INCLUDE_DIRS}
|
2017-06-02 07:59:03 -07:00
|
|
|
${SEC_INCLUDE_DIRS}
|
2018-04-01 09:08:24 -07:00
|
|
|
${PROJECT_SOURCE_DIR}
|
2017-05-30 06:38:04 -07:00
|
|
|
)
|
|
|
|
|
|
|
|
link_directories(
|
|
|
|
${Boost_LIBRARY_DIRS}
|
2017-06-02 07:59:03 -07:00
|
|
|
${SEC_LIBRARY_DIRS}
|
2017-05-30 06:38:04 -07:00
|
|
|
)
|
|
|
|
|
|
|
|
########################################################################
|
|
|
|
# Add subdirectories
|
|
|
|
########################################################################
|
|
|
|
add_subdirectory(src)
|
|
|
|
add_subdirectory(test)
|
2018-06-04 06:05:38 -07:00
|
|
|
|
|
|
|
########################################################################
|
|
|
|
# Default configuration files
|
|
|
|
########################################################################
|
2018-06-05 02:34:01 -07:00
|
|
|
install(FILES ue.conf.example DESTINATION ${DATA_DIR})
|