Просмотр исходного кода

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

[SVN r53009]
Douglas Gregor 17 лет назад
Родитель
Сommit
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号