diff --git a/CMakeLists.txt b/CMakeLists.txt
index c2abcedf01fdab559603b93b6cbf54a8e19e52e1..6c30d31041fb04fee6a65a1c883c9f7ac6f5c35b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,5 +1,5 @@
 # Set the minimum version of cmake required to build this project
-cmake_minimum_required(VERSION 2.8) #Common version of raspbian
+cmake_minimum_required(VERSION 3.7) #Common version of raspbian
 project(blc VERSION 1 )
 
 find_package(JPEG)