From 738c9bc785182e918f0fc858821356f8c50328c5 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sat, 6 Sep 2025 20:36:42 +1000 Subject: plugin: fix cmake version Also print message --- plugin/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugin/CMakeLists.txt') diff --git a/plugin/CMakeLists.txt b/plugin/CMakeLists.txt index 0228765..5fd58ad 100644 --- a/plugin/CMakeLists.txt +++ b/plugin/CMakeLists.txt @@ -4,6 +4,8 @@ if(QT_KNOWN_POLICY_QTP0001) qt_policy(SET QTP0001 NEW) endif() +string(REGEX MATCH "^[0-9]+\\.[0-9]+" VERSION_SHORT "${VERSION}") + set(QT_QML_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/qml") qt_standard_project_setup() add_subdirectory(src/Caelestia) -- cgit v1.2.3-freya