Commit 46836fe5 authored by Christophe Giboudeaux's avatar Christophe Giboudeaux
Browse files

Don't use Boost CMake config files

Detecting boost components prior to building the kolab resource
still causes problems with recent Boost versions.
parent 15ce17f5
Pipeline #40755 canceled with stage
......@@ -45,7 +45,10 @@ add_subdirectory( dav )
add_subdirectory( ical )
add_subdirectory( imap )
if (Libkolabxml_FOUND)
find_package(Boost REQUIRED COMPONENTS atomic thread system)
# The boost-provided CMake files are unreliable
set(Boost_NO_BOOST_CMAKE ON)
find_package(Boost MODULE REQUIRED COMPONENTS atomic thread system)
unset(Boost_NO_BOOST_CMAKE)
add_subdirectory( kolab )
endif()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment