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

[SVN r53009]
This commit is contained in:
Douglas Gregor
2009-05-15 01:32:19 +00:00
parent c1af8bba96
commit 742f0fbbea
+4
View File
@@ -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