mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-08-04 12:56:59 +00:00
Fix building if boost iostreams is not present
This commit is contained in:
parent
d1f21d2cb0
commit
89bbc565a8
@ -26,8 +26,9 @@ endif()
|
||||
|
||||
set(CMAKE_INCLUDE_PATH ${CMAKE_INCLUDE_PATH} ${GPSTK_INCLUDE_DIR}/gpstk)
|
||||
|
||||
find_package(Boost COMPONENTS iostreams serialization REQUIRED)
|
||||
find_package(Boost COMPONENTS iostreams serialization QUIET)
|
||||
|
||||
if(Boost_FOUND)
|
||||
include_directories(
|
||||
${CMAKE_SOURCE_DIR}/src/core/system_parameters
|
||||
${GFlags_INCLUDE_DIRS}
|
||||
@ -61,3 +62,7 @@ install(TARGETS rinex2assist
|
||||
RUNTIME DESTINATION bin
|
||||
COMPONENT "rinex2assist"
|
||||
)
|
||||
else()
|
||||
message(STATUS "Boost iostrems library not found.")
|
||||
message(STATUS "rinex2assist will not be built.")
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user