Skip to content

Commit

Permalink
New file cmake/ug_cmake_versions.cmake. This can be used to define cm…
Browse files Browse the repository at this point in the history
…ake versions globally at a single point in code.
  • Loading branch information
anaegel committed May 30, 2024
1 parent 2a66228 commit c8de437
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions cmake/ug_cmake_versions.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
cmake_minimum_required(VERSION 2.8.12...3.27.1)
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...3.27.1)
include("../../../cmake/ug_cmake_versions.cmake")

####
# uginterface Library
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...3.27.1)
include("../../cmake/ug_cmake_versions.cmake")

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...3.27.1)
include("../../cmake/ug_cmake_versions.cmake")

project(P_LIB_DISCRETIZATION)

Expand Down

0 comments on commit c8de437

Please sign in to comment.