[Tarantool-patches] [PATCH luajit 0/2][v2] Fix CMake warning

Sergey Bronnikov estetus at gmail.com
Tue Jun 18 15:00:05 MSK 2024


From: Sergey Bronnikov <sergeyb at tarantool.org>

CMake produces annoying warning on configuration stage.
The patch fixes a warning.

Changes v2:
- Added a patch that removes cmake_minimum_require_version
  everywhere except a root CMakeLists.txt
- Updated <policy_max> in cmake_minimum_require_version
  in a root CMakeLists.txt

Branch: https://github.com/tarantool/luajit/tree/ligurio/fix-cmake-warnings
Patch v1: https://lists.tarantool.org/tarantool-patches/a3454f746afb9a8f6494921bb2e64695e26902d6.1711007599.git.sergeyb@tarantool.org/

Sergey Bronnikov (2):
  cmake: set cmake_minimum_required only once
  cmake: fix warning about minimum required version

 CMakeLists.txt                                 | 13 ++++++++++---
 etc/CMakeLists.txt                             |  3 ---
 src/CMakeLists.txt                             |  3 ---
 src/host/CMakeLists.txt                        |  3 ---
 test/CMakeLists.txt                            |  3 ---
 test/LuaJIT-tests/CMakeLists.txt               |  3 ---
 test/LuaJIT-tests/src/CMakeLists.txt           |  3 ---
 test/PUC-Rio-Lua-5.1-tests/CMakeLists.txt      |  3 ---
 test/PUC-Rio-Lua-5.1-tests/libs/CMakeLists.txt |  3 ---
 test/lua-Harness-tests/CMakeLists.txt          |  3 ---
 test/tarantool-tests/CMakeLists.txt            |  3 ---
 tools/CMakeLists.txt                           |  3 ---
 12 files changed, 10 insertions(+), 36 deletions(-)

-- 
2.34.1



More information about the Tarantool-patches mailing list