Skip to content

Commit

Permalink
Fixing the CMake version messages (that 3.5 and below will be unsuppo…
Browse files Browse the repository at this point in the history
…rted in the future).

1. In some subordinated files, the version checking command is removed.
2. In the other CMakeLists.txt, the upper tested version is specified to 3.27.1.
  • Loading branch information
LogashenkoDL committed Aug 1, 2023
1 parent 0922aa2 commit d76a20d
Show file tree
Hide file tree
Showing 13 changed files with 9 additions and 17 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.

cmake_minimum_required(VERSION 2.8.12)
cmake_minimum_required(VERSION 2.8.12...3.27.1)

################################################
# ug4
Expand Down
2 changes: 1 addition & 1 deletion ugbase/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
# ugbase
################################################

cmake_minimum_required(VERSION 2.8.12)
cmake_minimum_required(VERSION 2.8.12...3.27.1)

project(P_UGBASE)

Expand Down
2 changes: 1 addition & 1 deletion ugbase/bindings/lua/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.

cmake_minimum_required(VERSION 2.8.12)
cmake_minimum_required(VERSION 2.8.12...3.27.1)

####
# uginterface Library
Expand Down
2 changes: 0 additions & 2 deletions ugbase/bridge/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.

cmake_minimum_required(VERSION 2.8.12)

####
# ug_bridge Library
####
Expand Down
2 changes: 1 addition & 1 deletion ugbase/common/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.

cmake_minimum_required(VERSION 2.8.12)
cmake_minimum_required(VERSION 2.8.12...3.27.1)

################################################
# common
Expand Down
2 changes: 0 additions & 2 deletions ugbase/common/node_tree/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.

cmake_minimum_required(VERSION 2.8.12)

################################################
# node-tree
################################################
Expand Down
2 changes: 0 additions & 2 deletions ugbase/compile_info/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.

cmake_minimum_required(VERSION 2.8.12)

################################################
# ug4 - compile-info
################################################
Expand Down
2 changes: 1 addition & 1 deletion ugbase/lib_algebra/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.

cmake_minimum_required (VERSION 2.8.12)
cmake_minimum_required (VERSION 2.8.12...3.27.1)

project (P_LIB_ALGEBRA)

Expand Down
2 changes: 1 addition & 1 deletion ugbase/lib_disc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.

cmake_minimum_required(VERSION 2.8.12)
cmake_minimum_required(VERSION 2.8.12...3.27.1)

project(P_LIB_DISCRETIZATION)

Expand Down
2 changes: 1 addition & 1 deletion ugbase/lib_grid/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
# lib_grid
################################################

cmake_minimum_required(VERSION 2.8.12)
cmake_minimum_required(VERSION 2.8.12...3.27.1)

project(P_LIB_GRID)

Expand Down
2 changes: 1 addition & 1 deletion ugbase/pcl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
# Parallel Communication Layer
################################################

cmake_minimum_required(VERSION 2.8.12)
cmake_minimum_required(VERSION 2.8.12...3.27.1)

project(P_PCL)

Expand Down
2 changes: 0 additions & 2 deletions ugbase/registry/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.

cmake_minimum_required(VERSION 2.8.12)

####
# registry Library
####
Expand Down
2 changes: 1 addition & 1 deletion ugbase/ug_shell/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
################################################################################


cmake_minimum_required(VERSION 2.8.12)
cmake_minimum_required(VERSION 2.8.12...3.27.1)

####
# ugscript Library
Expand Down

0 comments on commit d76a20d

Please sign in to comment.