mirror of
https://github.com/MariaDB/server.git
synced 2025-01-15 19:42:28 +01:00
cmake: force Boost dependency as needed
because FindBoost.cmake won't do it
This commit is contained in:
parent
5023e465a9
commit
e124ff17e0
1 changed files 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)
|
||||
|
|
Loading…
Reference in a new issue