1 parent 159db6b commit fecec40Copy full SHA for fecec40
1 file changed
examples/CMakeLists.txt
@@ -67,6 +67,9 @@ if(BUILD_RAYLIB_CPP_MODULES AND TARGET raylib_cpp_modules)
67
CXX_STANDARD 20
68
CXX_STANDARD_REQUIRED ON
69
CXX_EXTENSIONS OFF
70
+ # The examples directory defaults to C++11, so module scanning is not
71
+ # enabled for this target automatically; turn it on explicitly.
72
+ CXX_SCAN_FOR_MODULES ON
73
)
74
endif()
75
0 commit comments