diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6bfe35869e004c7aba00b02817a5f77bf5e0b158..6d370e92b3cf1f9fb0ca06e42fe3d6ff571f9cdf 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -31,6 +31,10 @@ if (WITH_FIXSTARS)
 	find_package( LibSGM )
 endif()
 
+if(${CMAKE_VERSION} VERSION_GREATER "3.12.0") 
+	cmake_policy(SET CMP0074 NEW)
+endif()
+
 if (WITH_PCL)
 	find_package( PCL QUIET COMPONENTS io common visualization registration )
 endif()