1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-15 12:40:35 +00:00

Remove unused definition

This commit is contained in:
Carles Fernandez 2019-02-04 08:14:38 +01:00
parent 1242d652c0
commit 9d88b03b39
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -206,10 +206,6 @@ if(PC_GNURADIO_RUNTIME_VERSION VERSION_GREATER 3.7.3)
two_bit_packed_file_signal_source.h) two_bit_packed_file_signal_source.h)
endif() endif()
if(ARCH_64BITS)
add_definitions(-DARCH_64BITS=1)
endif()
add_definitions(-DGNSSSDR_INSTALL_DIR="${CMAKE_INSTALL_PREFIX}") add_definitions(-DGNSSSDR_INSTALL_DIR="${CMAKE_INSTALL_PREFIX}")
list(SORT SIGNAL_SOURCE_ADAPTER_HEADERS) list(SORT SIGNAL_SOURCE_ADAPTER_HEADERS)
@ -224,19 +220,20 @@ target_link_libraries(signal_source_adapters
PUBLIC PUBLIC
Boost::boost Boost::boost
Gnuradio::runtime Gnuradio::runtime
Gnuradio::blocks
signal_source_gr_blocks signal_source_gr_blocks
${GNURADIO_PMT_LIBRARIES}
${GNURADIO_BLOCKS_LIBRARIES}
${OPT_LIBRARIES}
gnss_sp_libs gnss_sp_libs
gnss_rx gnss_rx
signal_source_lib signal_source_lib
${OPT_LIBRARIES}
PRIVATE PRIVATE
Gflags::gflags Gflags::gflags
Glog::glog Glog::glog
Volk::volk Volk::volk
) )
target_compile_definitions(signal_source_adapters PRIVATE -DGNSSSDR_INSTALL_DIR="${CMAKE_INSTALL_PREFIX}")
set_property(TARGET signal_source_adapters APPEND PROPERTY INTERFACE_INCLUDE_DIRECTORIES set_property(TARGET signal_source_adapters APPEND PROPERTY INTERFACE_INCLUDE_DIRECTORIES
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
$<BUILD_INTERFACE:${OPT_DRIVER_INCLUDE_DIRS}> $<BUILD_INTERFACE:${OPT_DRIVER_INCLUDE_DIRS}>