Skip to content

Commit

Permalink
Merge pull request #1096 from AntelopeIO/cmake_minvers_warn_fixes
Browse files Browse the repository at this point in the history
resolve a noisy cmake deprecation warning when using latest cmake version
  • Loading branch information
spoonincode authored Jan 16, 2025
2 parents dfea280 + 274d0ea commit 0e60eac
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 11 deletions.
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

0 comments on commit 0e60eac

Please sign in to comment.