nixpkgs/pkgs/development/libraries/qca-qt5/move-project.patch

18 lines
403 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2f2b5d0..971dee3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -6,10 +6,11 @@ if(NOT CMAKE_INSTALL_PREFIX)
unset(CMAKE_INSTALL_PREFIX CACHE)
endif(NOT CMAKE_INSTALL_PREFIX)
-project(qca)
cmake_minimum_required(VERSION 3.4)
+project(qca)
+
set(QCA_LIB_MAJOR_VERSION "2")
set(QCA_LIB_MINOR_VERSION "2")
set(QCA_LIB_PATCH_VERSION "1")