┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMéven Car <[email protected]>2024-03-09 11:24:58 +0100
committerMéven Car <[email protected]>2024-03-25 16:06:32 +0000
commit5d738f51a679f08a6f3e71767019237e62ca39b6 (patch)
tree14e6c7116a74117ec35ea3797c5c4213c4b2ea21
parentb318ec31bb26eea1ecc610a69538b4135246cf6c (diff)
Use craft to build for windows
-rw-r--r--.gitlab-ci.yml2
-rw-r--r--CMakeLists.txt1
2 files changed, 3 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 324be7d0a..f3cce4e3f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -5,3 +5,5 @@ include:
- /gitlab-templates/freebsd-qt6.yml
- /gitlab-templates/windows-qt6.yml
- /gitlab-templates/flatpak.yml
+ - /gitlab-templates/craft-windows-x86-64-qt6.yml
+
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3a782b9b9..f2ba8813f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -29,6 +29,7 @@ include(ECMQtDeclareLoggingCategory)
include(ECMDeprecationSettings)
include(CheckIncludeFiles)
include(CheckLibraryExists)
+include(CheckFunctionExists)
ecm_setup_version(${RELEASE_SERVICE_VERSION} VARIABLE_PREFIX DOLPHIN
VERSION_HEADER "${CMAKE_CURRENT_BINARY_DIR}/src/dolphin_version.h"