diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 2 insertions, 4 deletions
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) |