Skip to content

Commit

Permalink
Build: fix CMake warning about calling cmake_minimum_required
Browse files Browse the repository at this point in the history
Fix the following CMake warning:
```
CMake Warning (dev) at CMakeLists.txt:1 (PROJECT):
  cmake_minimum_required() should be called prior to this top-level project()
  call.  Please see the cmake-commands(7) manual for usage documentation of
  both commands.
This warning is for project developers.  Use -Wno-dev to suppress it.
```
  • Loading branch information
CuriousGeorgiy committed Nov 23, 2023
1 parent 1799dbe commit db35d22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PROJECT(tntcxx)

CMAKE_MINIMUM_REQUIRED(VERSION 3.5)

PROJECT(tntcxx)

IF(NOT CMAKE_BUILD_TYPE)
SET(CMAKE_BUILD_TYPE Debug)
ENDIF()
Expand Down

0 comments on commit db35d22

Please sign in to comment.