summaryrefslogtreecommitdiff
path: root/plugin/CMakeLists.txt
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-09-06 20:36:42 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-09-06 20:36:42 +1000
commit738c9bc785182e918f0fc858821356f8c50328c5 (patch)
tree131985c43922f4e97613aa1127c25a480830bd7f /plugin/CMakeLists.txt
parentplugin: abstract audioprovider (diff)
downloadcaelestia-shell-738c9bc785182e918f0fc858821356f8c50328c5.tar.gz
caelestia-shell-738c9bc785182e918f0fc858821356f8c50328c5.tar.bz2
caelestia-shell-738c9bc785182e918f0fc858821356f8c50328c5.zip
plugin: fix cmake version
Also print message
Diffstat (limited to 'plugin/CMakeLists.txt')
-rw-r--r--plugin/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
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)