Explorar el Código

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

[SVN r53009]
Douglas Gregor hace 17 años
padre
commit
742f0fbbea
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  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号