Skip to content

Commit 2096a3b

Browse files
Don't automatically set CPP26 to true
1 parent 5d30c0b commit 2096a3b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ option(REFLECTCPP_CHECK_HEADERS "Make sure that all headers are self-contained"
3131
option(REFLECTCPP_USE_BUNDLED_DEPENDENCIES "Use the bundled dependencies" ON)
3232

3333
option(REFLECTCPP_USE_CPP26_REFLECTION "Use standard C++ reflection (requires C++-26)" OFF)
34-
option(REFLECTCPP_USE_STD_EXPECTED "Use std::expected instead of the built-in Result type (requires C++-23)" ${REFLECTCPP_USE_CPP26_REFLECTION})
34+
option(REFLECTCPP_USE_STD_EXPECTED "Use std::expected instead of the built-in Result type (requires C++-23)" OFF)
3535

3636
if(REFLECTCPP_USE_CPP26_REFLECTION)
3737
if(NOT DEFINED CMAKE_CXX_STANDARD)

0 commit comments

Comments
 (0)