From e124ff17e07f395c34c8bfea31a2b35022919601 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Mon, 8 Apr 2019 10:03:46 +0200 Subject: cmake: force Boost dependency as needed because FindBoost.cmake won't do it --- cmake/build_depends.cmake | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cmake') diff --git a/cmake/build_depends.cmake b/cmake/build_depends.cmake index 0d17c22cf98..333df580200 100644 --- a/cmake/build_depends.cmake +++ b/cmake/build_depends.cmake @@ -16,6 +16,11 @@ IF(RPM) ENDIF() ENDMACRO() + # FindBoost.cmake doesn't leave any trace, do it here + IF (Boost_INCLUDE_DIR) + FIND_FILE(Boost_config_hpp boost/config.hpp PATHS ${Boost_INCLUDE_DIR}) + ENDIF() + GET_CMAKE_PROPERTY(ALL_VARS CACHE_VARIABLES) FOREACH (V ${ALL_VARS}) GET_PROPERTY(H CACHE ${V} PROPERTY HELPSTRING) -- cgit v1.2.1