commit 2c059aa968b7f19c23e202368435c2630b9934bd
Author: Matias De lellis <mati86dl@gmail.com>
Date: Thu Oct 25 14:53:30 2018 -0300
Add Release with debug build option
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6010526..7ad90f1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -59,6 +59,9 @@ exec_program(
# Tell config.h.in
IF(CMAKE_BUILD_TYPE STREQUAL "debug")
SET(GLYR_DEBUG TRUE)
+ELSEIF(CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo")
+ SET(CMAKE_BUILD_TYPE "RelWithDebInfo")
+ SET(GLYR_DEBUG FALSE)
ELSE()
SET(CMAKE_BUILD_TYPE "release")
SET(GLYR_DEBUG FALSE)