diff --git a/CMakeLists.txt b/CMakeLists.txt
index 11f397e29a852893fd9e2ee48b8a4ec4ab13b3ea..1597417c1e535d29f30fb828ba5bc0550b1cb5d9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2,7 +2,7 @@
 # Author: Marco Biasini
 #-------------------------------------------------------------------------------
 
-cmake_minimum_required(VERSION 3.10.2 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.12.1 FATAL_ERROR)
 
 # Set CMake policies
 # Behaviour of target_link_libraries, always link by full path. CMP0060 can