From abdad66bae077da6c3480db457beb47df5eda813 Mon Sep 17 00:00:00 2001 From: SineStriker <trueful@163.com> Date: 周六, 16 12月 2023 19:27:16 +0800 Subject: [PATCH] Fix mac window mistakes --- examples/qml/CMakeLists.txt | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/examples/qml/CMakeLists.txt b/examples/qml/CMakeLists.txt index ed78439..871f04f 100644 --- a/examples/qml/CMakeLists.txt +++ b/examples/qml/CMakeLists.txt @@ -6,4 +6,9 @@ SOURCES ${_src} 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