Set cmake minimum version to that which is really required.

The use of target_sources in combination with generator expressions
is not supported before v3.5. Set min required version to v3.5.

BUG=https://bugs.chromium.org/p/aomedia/issues/detail?id=76

Change-Id: Ifa1ea25e17ac58d631436c31ab9d4d9231e689f2
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6e4ebc0..9c614f7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -8,7 +8,7 @@
 ## Media Patent License 1.0 was not distributed with this source code in the
 ## PATENTS file, you can obtain it at www.aomedia.org/license/patent.
 ##
-cmake_minimum_required(VERSION 3.2)
+cmake_minimum_required(VERSION 3.5)
 project(AOM C CXX)
 
 set(AOM_ROOT "${CMAKE_CURRENT_SOURCE_DIR}")
diff --git a/build/cmake/aom_configure.cmake b/build/cmake/aom_configure.cmake
index 94c824e..19da5b3 100644
--- a/build/cmake/aom_configure.cmake
+++ b/build/cmake/aom_configure.cmake
@@ -8,8 +8,6 @@
 ## Media Patent License 1.0 was not distributed with this source code in the
 ## PATENTS file, you can obtain it at www.aomedia.org/license/patent.
 ##
-cmake_minimum_required(VERSION 3.2)
-
 include(FindGit)
 include(FindPerl)
 
diff --git a/build/cmake/compiler_flags.cmake b/build/cmake/compiler_flags.cmake
index 287e80b..beb217a 100644
--- a/build/cmake/compiler_flags.cmake
+++ b/build/cmake/compiler_flags.cmake
@@ -8,8 +8,6 @@
 ## Media Patent License 1.0 was not distributed with this source code in the
 ## PATENTS file, you can obtain it at www.aomedia.org/license/patent.
 ##
-cmake_minimum_required(VERSION 3.2)
-
 include(CheckCCompilerFlag)
 include(CheckCXXCompilerFlag)
 
diff --git a/build/cmake/compiler_tests.cmake b/build/cmake/compiler_tests.cmake
index 26d3394..e3c0e9a 100644
--- a/build/cmake/compiler_tests.cmake
+++ b/build/cmake/compiler_tests.cmake
@@ -8,8 +8,6 @@
 ## Media Patent License 1.0 was not distributed with this source code in the
 ## PATENTS file, you can obtain it at www.aomedia.org/license/patent.
 ##
-cmake_minimum_required(VERSION 3.2)
-
 include(CheckCSourceCompiles)
 include(CheckCXXSourceCompiles)