diff options
author | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2017-04-03 19:33:53 +0300 |
---|---|---|
committer | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2017-04-03 19:33:53 +0300 |
commit | 552081ac2e2476ba7e4e85d3620f933a38aaaa8d (patch) | |
tree | ee11db88605f9549283fb88151c33b38218af2d6 /CMakeLists.txt | |
parent | 7b0292021a45b619fc02e35d9ac763673d5037be (diff) |
Merged improvements from Outcome
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 0efc3e7c..13385665 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,10 +22,12 @@ ParseProjectVersionFromHpp("${CMAKE_CURRENT_SOURCE_DIR}/include/boost/afio/versi project(afio VERSION ${VERSIONSTRING} LANGUAGES C 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") # Setup this cmake environment for this project include(BoostLiteSetupProject) +if(NOT PROJECT_IS_DEPENDENCY) + # This file should be updated with the last git SHA next commit + UpdateRevisionHppFromGit("${CMAKE_CURRENT_SOURCE_DIR}/include/boost/afio/revision.hpp") +endif() # Find my library dependencies find_boostish_library(boost-lite "include/boost/afio" 1.0 REQUIRED) find_boostish_library(outcome "include/boost/afio" 1.0 REQUIRED) @@ -50,7 +52,6 @@ all_compile_features(PUBLIC cxx_variadic_templates cxx_noexcept cxx_constexpr - cxx_thread_local cxx_lambda_init_captures cxx_attributes cxx_generic_lambdas |