Skip to content

Commit

Permalink
Defaults to Release builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathonl committed Apr 22, 2024
1 parent e33156a commit dc0188f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
cmake_minimum_required(VERSION 3.2)
project(hds-util VERSION 1.0.0)

if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose build type (Debug|Release|RelWithDebInfo|MinSizeRel)" FORCE)
endif()

set(CMAKE_CXX_STANDARD 11)

set(CMAKE_FIND_LIBRARY_SUFFIXES ".a;${CMAKE_FIND_LIBRARY_SUFFIXES}") # Prefer libz.a when both are available
Expand Down

0 comments on commit dc0188f

Please sign in to comment.