diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-06 20:36:42 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-06 20:36:42 +1000 |
| commit | 738c9bc785182e918f0fc858821356f8c50328c5 (patch) | |
| tree | 131985c43922f4e97613aa1127c25a480830bd7f /plugin/CMakeLists.txt | |
| parent | plugin: abstract audioprovider (diff) | |
| download | caelestia-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.txt | 2 |
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) |