summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2018-01-20 10:21:45 +0100
committerLaG1924 <12997935+LaG1924@users.noreply.github.com>2018-01-20 10:21:45 +0100
commit469979cd48c4b677d2e7f82cb84dca564a7b8bd3 (patch)
treeadbb0ff85bd5f5ed25c688cfc922bd9a6ecd0993
parentFixed some UB detected by GCC UB-sanitizer (diff)
downloadAltCraft-469979cd48c4b677d2e7f82cb84dca564a7b8bd3.tar
AltCraft-469979cd48c4b677d2e7f82cb84dca564a7b8bd3.tar.gz
AltCraft-469979cd48c4b677d2e7f82cb84dca564a7b8bd3.tar.bz2
AltCraft-469979cd48c4b677d2e7f82cb84dca564a7b8bd3.tar.lz
AltCraft-469979cd48c4b677d2e7f82cb84dca564a7b8bd3.tar.xz
AltCraft-469979cd48c4b677d2e7f82cb84dca564a7b8bd3.tar.zst
AltCraft-469979cd48c4b677d2e7f82cb84dca564a7b8bd3.zip
Diffstat (limited to '')
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d8a101b..5a8a25b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -5,6 +5,10 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
+if (NOT CMAKE_BUILD_TYPE)
+ SET(CMAKE_BUILD_TYPE Release)
+endif()
+
##########
# SOURCES
##########