From 742f0fbbeadca41926893ec7deab98a67404687e Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Fri, 15 May 2009 01:32:19 +0000 Subject: Make sure that CMake reconfigures when boost/version.hpp changes [SVN r53009] --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 684c799833..e4ddc93ba9 100644 --- a/CMakeLists.txt +++ b/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 -- cgit v1.2.1