]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake: expose Boost_VERSION 21404/head
authorKefu Chai <kchai@redhat.com>
Sun, 18 Mar 2018 08:07:09 +0000 (16:07 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 13 Apr 2018 04:19:36 +0000 (12:19 +0800)
to appease the consumers of FindBoost.cmake, they are expecting this
variable.

Signed-off-by: Kefu Chai <kchai@redhat.com>
cmake/modules/BuildBoost.cmake

index 63320b712cacefb2c8f038f046834cd46cfd68c6..1bc28ad0f8203dd63ec9ae62ddc5c61eb8b28ced 100644 (file)
@@ -179,6 +179,7 @@ macro(build_boost version)
   ExternalProject_Get_Property(Boost install_dir)
   set(Boost_INCLUDE_DIRS ${install_dir}/include)
   set(Boost_INCLUDE_DIR ${install_dir}/include)
+  set(Boost_VERSION ${version})
   # create the directory so cmake won't complain when looking at the imported
   # target
   file(MAKE_DIRECTORY ${Boost_INCLUDE_DIRS})