Skip to content

Commit

Permalink
set built type as default (allow user override)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasaunai committed Aug 4, 2024
1 parent 2f15373 commit eca303d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
cmake_minimum_required(VERSION 3.16)
set(CMAKE_BUILD_TYPE Release)
if (NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE "Release" CACHE STRING "" FORCE)
endif()
set (CMAKE_CXX_STANDARD 17)

set(Idefix_VERSION_MAJOR 2)
Expand Down

0 comments on commit eca303d

Please sign in to comment.