diff options
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) |