Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

resolve a noisy cmake deprecation warning when using latest cmake version #1096

Merged
merged 5 commits into from
Jan 16, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions CMakeModules/VersionUtils.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
cmake_minimum_required(VERSION 3.5)

function(GENERATE_VERSION_METADATA)
# Execute `git` to grab the corresponding data.
execute_process(
Expand Down
2 changes: 1 addition & 1 deletion libraries/appbase
Submodule appbase updated 1 files
+1 −1 CMakeLists.txt
2 changes: 1 addition & 1 deletion libraries/testing/contracts/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required( VERSION 3.8 )
cmake_minimum_required( VERSION 3.16 )
project(testing_contracts)

if( EOSIO_COMPILE_TEST_CONTRACTS )
Expand Down
3 changes: 0 additions & 3 deletions libraries/version/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
cmake_minimum_required(VERSION 3.5)
project(Version)

# Define the version metadata by default, in case `git` cannot be found.
set(_VERSION_MAJOR_ "unknown")
set(_VERSION_MINOR_ "")
Expand Down
2 changes: 1 addition & 1 deletion tests/abieos
Submodule abieos updated 1 files
+1 −1 CMakeLists.txt
2 changes: 1 addition & 1 deletion unittests/contracts/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required( VERSION 3.8 )
cmake_minimum_required( VERSION 3.16 )
project(unittest_contracts)


Expand Down
2 changes: 1 addition & 1 deletion unittests/test-contracts/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required( VERSION 3.8 )
cmake_minimum_required( VERSION 3.16 )
project(test_contracts)

if( EOSIO_COMPILE_TEST_CONTRACTS )
Expand Down
Loading