From 052fc5564a63af26e5447246710070f4272668c5 Mon Sep 17 00:00:00 2001 From: "Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)" Date: Sat, 23 Jul 2016 18:17:48 +0100 Subject: Stop updating revision.hpp every commit --- CMakeLists.txt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 50d867e4..afa8328c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,6 +19,8 @@ ParseProjectVersionFromHpp("${CMAKE_CURRENT_SOURCE_DIR}/include/boost/afio/versi project(afio VERSION ${VERSIONSTRING} LANGUAGES CXX) # Also set a *cmake* namespace for this project set(PROJECT_NAMESPACE boost--) +# This file should be updated with the last git SHA next commit +UpdateRevisionHppFromGit("${CMAKE_CURRENT_SOURCE_DIR}/include/boost/afio/revision.hpp") # Bring in CTest support include(CTest) # Find my library dependencies @@ -32,10 +34,6 @@ find_boostish_library(boost--outcome 1.0 REQUIRED) include(BoostLiteMakeLibrary) # Make an interface only library so dependent CMakeLists can bring in this header-only library include(BoostLiteMakeHeaderOnlyLibrary) -if(NOT PROJECT_IS_DEPENDENCY) - # Update this header file with the current git SHA and last timestamp - UpdateRevisionHppFromGit("${CMAKE_CURRENT_SOURCE_DIR}/include/boost/afio/revision.hpp") -endif() # Set the standard definitions for these libraries and bring in the all_* helper functions include(BoostLiteApplyDefaultDefinitions) -- cgit v1.2.3