fix feature detection for strong enough constexpr

This commit is contained in:
Ferdinand Bachmann
2020-04-18 13:56:49 +02:00
parent 47f3737fb4
commit 97c4bed1ec
2 changed files with 6 additions and 6 deletions

View File

@@ -8,7 +8,7 @@ option(RING_BUFFER_BUILD_TESTS "build test cases for the ring buffer library" ON
option(RING_BUFFER_FEATURE_DETECT "try to detect if c++ features are supported" ON)
option(RING_BUFFER_NOEXCEPT "enable conditionally noexcept ring_buffer (c++11)" OFF)
option(RING_BUFFER_CONSTEXPR "enable constexpr ring_buffer (c++11)" OFF)
option(RING_BUFFER_CONSTEXPR "enable constexpr ring_buffer (c++14)" OFF)
option(RING_BUFFER_CONSTEXPR_DESTRUCTORS "enable constexpr destructor for ring_buffer (c++20)" OFF)
if(RING_BUFFER_CXXFLAGS)