diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2ea624e7f15024837a218b978e68af86c5ebc6fa..c2abcedf01fdab559603b93b6cbf54a8e19e52e1 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 3.13) #Common version of raspbian
+cmake_minimum_required(VERSION 2.8) #Common version of raspbian
 project(blc VERSION 1 )
 
 find_package(JPEG)