Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf4fe9ba

Browse files
committed
chore: allow CMake though to 3.10
This is allows the build with cmake-4.0.0 without deprecation warnings.use min...max syntax to allow build with newer cmake.ref:https://cmake.org/cmake/help/latest/command/cmake_minimum_required.htmlFixes:CMake Error at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 has been removed from CMake. Update the VERSION argument <min> value. Or, use the <min>...<max> syntax to tell CMake that the project requires at least <min> but has been updated to work with policies introduced by <max> or earlier. Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.JerryScript-DCO-1.0-Signed-off-by: Zac Medico <zmedico@gmail.com>
1 parentb706935 commitf4fe9ba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎targets/baremetal-sdk/espressif/CMakeLists.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
cmake_minimum_required(VERSION 3.5)
15+
cmake_minimum_required(VERSION 3.5...3.10)
1616

1717
set(SDKCONFIG${CMAKE_BINARY_DIR}/sdkconfig)
1818
# Workaround to generate sdkconfig into the build directory.

‎targets/baremetal-sdk/espressif/main/CMakeLists.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
cmake_minimum_required(VERSION 3.5)
14+
cmake_minimum_required(VERSION 3.5...3.10)
1515

1616
# Set JerryScript variables
1717
set(JERRY_ROOT_DIR${PROJECT_DIR}/../../..)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp