فهرست منبع

Make sure that CMake reconfigures when boost/version.hpp changes

[SVN r53009]
Douglas Gregor 17 سال پیش
والد
کامیت
742f0fbbea
1فایلهای تغییر یافته به همراه4 افزوده شده و 0 حذف شده
  1. 4 0
      CMakeLists.txt

+ 4 - 0
CMakeLists.txt

@@ -45,6 +45,10 @@ else()
   message(FATAL_ERROR 
     "Unable to parse Boost version from ${CMAKE_CURRENT_SOURCE_DIR}/boost/version.hpp")
 endif()
+
+# Make sure that we reconfigure when boost/version.hpp changes.
+configure_file(boost/version.hpp
+   ${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/version.stamp)
 ##########################################################################
 
 # Put the libaries and binaries that get built into directories at the

粤ICP备19079148号