mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 22:32:58 +03:00
b693f989f6
Closes #32879, taking the new description from the PR
19 lines
501 B
Diff
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
|