From 06c35ea7b2aaa58774317cb90d347765f8ca1aed Mon Sep 17 00:00:00 2001 From: Yonggang Luo Date: Thu, 14 Nov 2024 18:47:23 +0800 Subject: [PATCH] CMake update cmake_minimum_required (VERSION 3.5) JerryScript-DCO-1.0-Signed-off-by: Yonggang Luo luoyonggang@gmail.com --- CMakeLists.txt | 2 +- jerry-core/CMakeLists.txt | 2 +- jerry-ext/CMakeLists.txt | 2 +- jerry-main/CMakeLists.txt | 2 +- jerry-math/CMakeLists.txt | 2 +- jerry-port/CMakeLists.txt | 2 +- tests/unit-core/CMakeLists.txt | 2 +- tests/unit-doc/CMakeLists.txt | 2 +- tests/unit-ext/CMakeLists.txt | 2 +- tests/unit-ext/module/CMakeLists.txt | 2 +- tests/unit-math/CMakeLists.txt | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index dd1982869d..71dba1b1d1 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.5) project (Jerry C) if(NOT DEFINED PYTHON) diff --git a/jerry-core/CMakeLists.txt b/jerry-core/CMakeLists.txt index aa58a3d0fa..22f62be22e 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.5) 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..f36af99f32 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.5) 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..bf4008bcf7 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.5) project (jerry-main C) # Optional build settings diff --git a/jerry-math/CMakeLists.txt b/jerry-math/CMakeLists.txt index 4031059d16..96a81a5337 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.5) 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..98bd4d0688 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.5) 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..0de9359b02 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.5) 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..48dc646414 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.5) project (unit-doc C) find_package(PythonInterp REQUIRED) diff --git a/tests/unit-ext/CMakeLists.txt b/tests/unit-ext/CMakeLists.txt index 0b4008b50d..f8ed68b7df 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.5) 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..710d939310 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.5) 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..f4cf3e7a07 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.5) project (unit-math C) # Unit tests main modules