Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects
Commit b13fc10a authored by gsell's avatar gsell
Browse files

check Boost version with 'find_package()'

parent 7c73b98f
No related branches found
No related tags found
1 merge request!165Resolve "CMAKE add on NERSC"
......@@ -126,18 +126,12 @@ if (USE_STATIC_LIBRARIES)
endif ()
set (Boost_USE_MULTITHREADED OFF)
set (Boost_USE_STATIC_RUNTIME OFF)
find_package (Boost
find_package (Boost 1.60.0
REQUIRED COMPONENTS chrono filesystem iostreams regex serialization system timer)
if (Boost_INCLUDE_DIRS)
if (${Boost_VERSION} VERSION_LESS 106000)
message (FATAL_ERROR
"Found Boost library is too old; required is version 1.60.0 or newer!")
endif ()
message ("Found Boost include dir: ${Boost_INCLUDE_DIR}")
message ("Found Boost library dir: ${Boost_LIBRARY_DIR}")
message ("Found Boost libraries: ${Boost_LIBRARIES}")
include_directories (${Boost_INCLUDE_DIRS})
endif ()
message ("Found Boost include dir: ${Boost_INCLUDE_DIR}")
message ("Found Boost library dir: ${Boost_LIBRARY_DIR}")
message ("Found Boost libraries: ${Boost_LIBRARIES}")
include_directories (${Boost_INCLUDE_DIRS})
option (ENABLE_DKS "Enable DKS" OFF)
if (ENABLE_DKS)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment