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