aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorselsta <selsta@sent.at>2021-04-26 01:27:02 +0200
committerselsta <selsta@sent.at>2021-04-27 11:02:05 +0200
commitcbd54ea52424d679549800ce57f5ba6ae1956752 (patch)
treee09e0e946ab3e74b4f25fec2d9b7c0c6437390de /cmake
parentMerge pull request #7669 (diff)
downloadmonero-cbd54ea52424d679549800ce57f5ba6ae1956752.tar.xz
cmake: set 3.5 as minimum version
Diffstat (limited to 'cmake')
-rw-r--r--cmake/FindCcache.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/FindCcache.cmake b/cmake/FindCcache.cmake
index f7b1b8425..2eb2fa2fd 100644
--- a/cmake/FindCcache.cmake
+++ b/cmake/FindCcache.cmake
@@ -44,7 +44,7 @@ if (CCACHE_FOUND)
# Try to compile a test program with ccache, in order to verify if it really works. (needed on exotic setups)
set(TEST_PROJECT "${CMAKE_BINARY_DIR}/${CMAKE_FILES_DIRECTORY}/CMakeTmp")
file(WRITE "${TEST_PROJECT}/CMakeLists.txt" [=[
-cmake_minimum_required(VERSION 3.1)
+cmake_minimum_required(VERSION 3.5)
project(test)
option (CCACHE "")
file(WRITE "${CMAKE_SOURCE_DIR}/test.cpp" "int main() { return 0; }")