nixpkgs/pkgs/applications/misc/keepassx/cmake.patch
Orivej Desh b693f989f6 keepassxc: support macOS
Closes #32879, taking the new description from the PR
2017-12-20 08:10:05 +00:00

19 lines
501 B
Diff

Fix "No known features for CXX compiler", see
https://cmake.org/pipermail/cmake/2016-December/064733.html and the note at
https://cmake.org/cmake/help/v3.10/command/cmake_minimum_required.html
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -20,10 +20,10 @@ if(NOT CMAKE_BUILD_TYPE)
FORCE)
endif()
-project(KeePassXC)
-
cmake_minimum_required(VERSION 3.1.0)
+project(KeePassXC)
+
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
# Support Visual Studio Code