diff --git a/CMakeLists.txt b/CMakeLists.txt index dd1982869d..4ba1628e63 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -cmake_minimum_required (VERSION 2.8.12) +cmake_minimum_required (VERSION 3.10) project (Jerry C) if(NOT DEFINED PYTHON) diff --git a/jerry-core/CMakeLists.txt b/jerry-core/CMakeLists.txt index aa58a3d0fa..a2c3a6921c 100644 --- a/jerry-core/CMakeLists.txt +++ b/jerry-core/CMakeLists.txt @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -cmake_minimum_required (VERSION 2.8.12) +cmake_minimum_required (VERSION 3.10) set(JERRY_CORE_NAME jerry-core) project (${JERRY_CORE_NAME} C) diff --git a/jerry-ext/CMakeLists.txt b/jerry-ext/CMakeLists.txt index edfb062624..4f3e07cfbe 100644 --- a/jerry-ext/CMakeLists.txt +++ b/jerry-ext/CMakeLists.txt @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -cmake_minimum_required (VERSION 2.8.12) +cmake_minimum_required (VERSION 3.10) set(JERRY_EXT_NAME jerry-ext) project (${JERRY_EXT_NAME} C) diff --git a/jerry-main/CMakeLists.txt b/jerry-main/CMakeLists.txt index 8caa71a5cf..82706d716b 100644 --- a/jerry-main/CMakeLists.txt +++ b/jerry-main/CMakeLists.txt @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -cmake_minimum_required (VERSION 2.8.12) +cmake_minimum_required (VERSION 3.10) project (jerry-main C) # Optional build settings diff --git a/jerry-math/CMakeLists.txt b/jerry-math/CMakeLists.txt index 4031059d16..4eb8c2d6f8 100644 --- a/jerry-math/CMakeLists.txt +++ b/jerry-math/CMakeLists.txt @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -cmake_minimum_required (VERSION 2.8.12) +cmake_minimum_required (VERSION 3.10) set(JERRY_MATH_NAME jerry-math) project (${JERRY_MATH_NAME} C) diff --git a/jerry-port/CMakeLists.txt b/jerry-port/CMakeLists.txt index 5644c4cf2f..9a70b73d1c 100644 --- a/jerry-port/CMakeLists.txt +++ b/jerry-port/CMakeLists.txt @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -cmake_minimum_required (VERSION 2.8.12) +cmake_minimum_required (VERSION 3.10) set(JERRY_PORT_NAME jerry-port) project (${JERRY_PORT_NAME} C) diff --git a/tests/unit-core/CMakeLists.txt b/tests/unit-core/CMakeLists.txt index 7ecea32053..3bbc38c015 100644 --- a/tests/unit-core/CMakeLists.txt +++ b/tests/unit-core/CMakeLists.txt @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -cmake_minimum_required (VERSION 2.8.12) +cmake_minimum_required (VERSION 3.10) project (unit-core C) if (NOT IS_ABSOLUTE ${FEATURE_PROFILE}) diff --git a/tests/unit-doc/CMakeLists.txt b/tests/unit-doc/CMakeLists.txt index 63f9355ae3..c65f10ae3b 100644 --- a/tests/unit-doc/CMakeLists.txt +++ b/tests/unit-doc/CMakeLists.txt @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -cmake_minimum_required (VERSION 2.8.12) +cmake_minimum_required (VERSION 3.10) project (unit-doc C) find_package(PythonInterp REQUIRED) diff --git a/tests/unit-ext/CMakeLists.txt b/tests/unit-ext/CMakeLists.txt index 0b4008b50d..291bf44fc0 100644 --- a/tests/unit-ext/CMakeLists.txt +++ b/tests/unit-ext/CMakeLists.txt @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -cmake_minimum_required (VERSION 2.8.12) +cmake_minimum_required (VERSION 3.10) project (unit-ext C) set(INCLUDE_UNIT_EXT ${CMAKE_CURRENT_SOURCE_DIR}) diff --git a/tests/unit-ext/module/CMakeLists.txt b/tests/unit-ext/module/CMakeLists.txt index db4fccff4c..9368de68d8 100644 --- a/tests/unit-ext/module/CMakeLists.txt +++ b/tests/unit-ext/module/CMakeLists.txt @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -cmake_minimum_required (VERSION 2.8.12) +cmake_minimum_required (VERSION 3.10) set(JERRYX_MODULE_UNITTEST_NAME unit-test-jerry-module) project (${JERRYX_MODULE_UNITTEST_NAME} C) diff --git a/tests/unit-math/CMakeLists.txt b/tests/unit-math/CMakeLists.txt index 10ca95256a..e6963da808 100644 --- a/tests/unit-math/CMakeLists.txt +++ b/tests/unit-math/CMakeLists.txt @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -cmake_minimum_required (VERSION 2.8.12) +cmake_minimum_required (VERSION 3.10) project (unit-math C) # Unit tests main modules