Skip to content
Permalink
Browse files
cmake: force Boost dependency as needed
because FindBoost.cmake won't do it
  • Loading branch information
vuvova committed Apr 8, 2019
1 parent 5023e46 commit e124ff1
Showing 1 changed file with 5 additions and 0 deletions.
@@ -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)

0 comments on commit e124ff1

Please sign in to comment.