Skip to content

Commit

Permalink
Fix set CXX 20
Browse files Browse the repository at this point in the history
  • Loading branch information
DarcJC committed Jul 12, 2024
1 parent cbb9ab0 commit 767cd17
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions example/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
option(REFLECT_BUILD_EXAMPLE "Build reflection example target" ON)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)

if (REFLECT_BUILD_EXAMPLE)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)

make_absolute_paths(REFLECTION_HEADERS
include/data.h
include/test.h
Expand Down

0 comments on commit 767cd17

Please sign in to comment.