File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -5,5 +5,7 @@ target_link_libraries(GameOfLife PRIVATE
55 Magnum::Magnum Magnum::GL Magnum::Application
66 Magnum::Shaders Magnum::Primitives)
77
8+ # `using enum` is apparently a C++ 20 extension, but is widely supported,
9+ # so we can use it without a feature test (and this skips the warning).
810target_compile_options (GameOfLife PUBLIC ${SYCL_FLAGS} -Wno-c++20-extensions)
911target_link_options (GameOfLife PUBLIC ${SYCL_FLAGS} )
Original file line number Diff line number Diff line change @@ -6,5 +6,7 @@ target_link_libraries(Mandelbrot PRIVATE
66 Magnum::Magnum Magnum::GL Magnum::Application
77 Magnum::Shaders Magnum::Primitives)
88
9+ # `using enum` is apparently a C++ 20 extension, but is widely supported,
10+ # so we can use it without a feature test (and this skips the warning).
911target_compile_options (Mandelbrot PUBLIC ${SYCL_FLAGS} -Wno-c++20-extensions)
1012target_link_options (Mandelbrot PUBLIC ${SYCL_FLAGS} )
You can’t perform that action at this time.
0 commit comments