Skip to content

Commit

Permalink
cmake_minimum_required() needs to be before project()
Browse files Browse the repository at this point in the history
Also bump minimum required to `3.5`.

Signed-off-by: Bryan Hundven <[email protected]>
  • Loading branch information
bhundven committed Mar 28, 2024
1 parent 89c0e70 commit 65337ec
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,10 +1,10 @@
cmake_minimum_required(VERSION 3.5)

project(thinkfan LANGUAGES CXX)
include(GNUInstallDirs)

set(THINKFAN_VERSION 2.0.0)

cmake_minimum_required(VERSION 3.0)

# Generate absolute paths or something
cmake_policy(SET CMP0015 NEW)

Expand Down

0 comments on commit 65337ec

Please sign in to comment.