From 5a335f89d3016bd2c21ffe0fbb844a3ef60a6f97 Mon Sep 17 00:00:00 2001 From: Daniel Reuther Date: Sat, 23 Oct 2021 02:45:52 +0200 Subject: [PATCH] Fix compilation on gcc 11 --- plugins/windows-notification/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/windows-notification/CMakeLists.txt b/plugins/windows-notification/CMakeLists.txt index c8800213..a4d130dd 100644 --- a/plugins/windows-notification/CMakeLists.txt +++ b/plugins/windows-notification/CMakeLists.txt @@ -77,7 +77,7 @@ if(NOT ntdll_LIBRARY) endif(NOT ntdll_LIBRARY) target_link_libraries(windows-notification libdino ${shlwapi_LIBRARY} ${ntdll_LIBRARY} ${WINDOWS_NOTIFICATION_PACKAGES}) -target_compile_features(windows-notification PRIVATE cxx_std_20) +target_compile_features(windows-notification PRIVATE cxx_std_17) target_compile_definitions(windows-notification PRIVATE WINRT_GLIB_H_INSIDE) target_compile_options(windows-notification PRIVATE $<$:-iquote ${PROJECT_SOURCE_DIR}/yolort/include/winrt/yolort_impl>) add_dependencies(windows-notification yolort)