From 40edcbfd2e1b978d62b4b12f90c112694dfccc52 Mon Sep 17 00:00:00 2001 From: SineStriker <55847490+SineStriker@users.noreply.github.com> Date: 周五, 17 5月 2024 11:41:23 +0800 Subject: [PATCH] Merge pull request #81 from JacobMuchow/fix/window-kit-config --- examples/qml/CMakeLists.txt | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/examples/qml/CMakeLists.txt b/examples/qml/CMakeLists.txt index ed78439..9b834fa 100644 --- a/examples/qml/CMakeLists.txt +++ b/examples/qml/CMakeLists.txt @@ -3,7 +3,12 @@ file(GLOB _src *.h *.cpp *.qrc) qwk_add_example(${PROJECT_NAME} - SOURCES ${_src} + SOURCES ${_src} ../shared/resources/shared.qrc QT_LINKS Core Gui Qml Quick LINKS QWKQuick -) \ No newline at end of file +) + +set_target_properties(${PROJECT_NAME} PROPERTIES + CXX_STANDARD 17 + CXX_STANDARD_REQUIRED TRUE +) -- Gitblit v1.9.1