Permalink
Browse files

Update CMakeLists.txt

Set default build type to Release.
  • Loading branch information...
mlesnick committed Sep 25, 2017
1 parent 6b7926f commit c08c09355bd27d70cada5a5b2410628f6c7408a3
Showing with 3 additions and 1 deletion.
  1. +3 −1 CMakeLists.txt
View
@@ -1,7 +1,9 @@
cmake_minimum_required (VERSION 3.1)
project (rivet_console)
set (CMAKE_CXX_STANDARD 14)
set(CMAKE_BUILD_TYPE Debug)
if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE Release)
endif()
set(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} "-ftemplate-depth=1024 -Wall -Wextra -pedantic")
include(ExternalProject)

0 comments on commit c08c093

Please sign in to comment.