Skip to content

Commit

Permalink
Update position of cmake min version requirement to top of file.
Browse files Browse the repository at this point in the history
  • Loading branch information
petebunting committed Nov 21, 2023
1 parent f3d5e60 commit 8962e11
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
#
###############################################################################

# CMake Min Version
cmake_minimum_required(VERSION 3.12)

###############################################################################
# Set Project name and version
project (RSGISLIB)
Expand Down Expand Up @@ -143,9 +146,6 @@ option(RSGIS_PYTHON "Build Python bindings" ON)
###############################################################################

###############################################################################
# CMake settings
cmake_minimum_required(VERSION 3.12)

IF(NOT CMAKE_BUILD_TYPE)
#SET(CMAKE_BUILD_TYPE "DEBUG")
SET(CMAKE_BUILD_TYPE "RELEASE")
Expand Down

0 comments on commit 8962e11

Please sign in to comment.