diff options
author | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2016-08-06 22:12:20 +0300 |
---|---|---|
committer | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2016-08-06 22:12:20 +0300 |
commit | 48942c2b71e6b2c0c4cb128e532a75f260e26151 (patch) | |
tree | 55df254e3832e72859b61d697261490959595b53 /CMakeLists.txt | |
parent | b40711a38ee3a25fecee9809054327e1da49bafc (diff) |
Lots of minor fixes realised during the part way through merge of AFIO tooling improvements into Outcome
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index e1a65395..53feb179 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,8 +22,8 @@ project(afio VERSION ${VERSIONSTRING} LANGUAGES CXX) 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) +# Setup this cmake environment for this project +include(BoostLiteSetupProject) # Find my library dependencies find_boostish_library(boost-lite 1.0 REQUIRED) find_boostish_library(boost--outcome 1.0 REQUIRED) @@ -42,14 +42,15 @@ include(BoostLiteMakeDoxygen) include(BoostLiteApplyDefaultDefinitions) # Set the C++ features this library requires all_compile_features(PUBLIC - # cxx_exceptions ## Annoyingly not supported by cmake 3.4 + # cxx_exceptions ## Annoyingly not supported by cmake 3.6 cxx_alias_templates cxx_variadic_templates cxx_noexcept cxx_constexpr cxx_thread_local - #cxx_init_captures ## Not supported yet by cmake 3.4 + #cxx_init_captures ## Not supported yet by cmake 3.6 cxx_attributes + cxx_generic_lambdas ) if(NOT MSVC OR CMAKE_VERSION VERSION_GREATER 3.59) all_compile_features(PUBLIC |