Skip to content

Commit

Permalink
Build in Release by default
Browse files Browse the repository at this point in the history
  • Loading branch information
pierotofy committed Jul 21, 2022
1 parent 556f625 commit 348a216
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
project(dem2mesh)
cmake_minimum_required(VERSION 2.8)

if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE "Release" CACHE STRING
"Choose the type of build, options are: Debug Release
RelWithDebInfo MinSizeRel."
FORCE)
endif()

set (CMAKE_CXX_STANDARD 11)
find_package(GDAL REQUIRED)
find_package(OpenMP REQUIRED)
Expand Down

0 comments on commit 348a216

Please sign in to comment.