mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-28 09:54:51 +00:00
Fix building for CMake 2.8.12
This commit is contained in:
parent
b88d8d9b23
commit
fd719a85b4
@ -765,8 +765,8 @@ endif()
|
||||
if(CMAKE_VERSION VERSION_LESS 3.15)
|
||||
if(NOT TARGET Boost::headers)
|
||||
if(CMAKE_VERSION VERSION_LESS 3.0)
|
||||
add_library(Boost::boost SHARED IMPORTED) # Trick for CMake 2.8.12
|
||||
set_target_properties(Boost::boost PROPERTIES
|
||||
add_library(Boost::headers SHARED IMPORTED) # Trick for CMake 2.8.12
|
||||
set_target_properties(Boost::headers PROPERTIES
|
||||
INTERFACE_INCLUDE_DIRECTORIES ${Boost_INCLUDE_DIR}
|
||||
IMPORTED_LOCATION ${Boost_DATE_TIME_LIBRARIES}
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user