From 5d738f51a679f08a6f3e71767019237e62ca39b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A9ven=20Car?= Date: Sat, 9 Mar 2024 11:24:58 +0100 Subject: [PATCH] Use craft to build for windows --- .gitlab-ci.yml | 2 ++ CMakeLists.txt | 1 + 2 files changed, 3 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 324be7d0a1..f3cce4e3fe 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 3a782b9b98..f2ba8813f3 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"