Skip to content

Commit

Permalink
Fixed a warning reported by CMake
Browse files Browse the repository at this point in the history
The `cmake_minimum_required()` command should be called at the beginning
of the top-level `CMakeLists.txt` file even before calling the
`project()` command.
  • Loading branch information
avdg81 committed Nov 7, 2023
1 parent 02a5402 commit 794c315
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
project (KratosMultiphysics)
cmake_minimum_required (VERSION 2.8.6)
project (KratosMultiphysics)
set (CMAKE_CXX_STANDARD 17)
set (CMAKE_CXX_STANDARD_REQUIRED ON)
set (CMAKE_CXX_EXTENSIONS OFF)
Expand Down

0 comments on commit 794c315

Please sign in to comment.