libsForQt5.qca-qt5: fix darwin build

This commit is contained in:
Stéphan Kochen 2021-05-17 20:00:50 +02:00
parent 11d75bc234
commit b9efe88a98
2 changed files with 0 additions and 21 deletions

View file

@ -14,10 +14,6 @@ stdenv.mkDerivation rec {
dontWrapQtApps = true;
# Without this patch cmake fails with a "No known features for CXX compiler"
# error on darwin
patches = lib.optional stdenv.isDarwin ./move-project.patch ;
# tells CMake to use this CA bundle file if it is accessible
preConfigure = "export QC_CERTSTORE_PATH=/etc/ssl/certs/ca-certificates.crt";

View file

@ -1,17 +0,0 @@
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")