From 46220ad01ecdc1832ad0b9da0e70541632f53ead Mon Sep 17 00:00:00 2001 From: juehv Date: Tue, 15 Nov 2016 17:09:57 +0100 Subject: fix cmake file --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 87fc2e5..2d53686 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -536,7 +536,9 @@ else() endif() endif() +if (CMAKE_BUILD_TYPE) string(TOUPPER ${CMAKE_BUILD_TYPE} CMAKE_BUILD_TYPE_UC) +endif() message(STATUS " CXX Flags : " ${CMAKE_CXX_FLAGS} " " ${CMAKE_CXX_FLAGS_${CMAKE_BUILD_TYPE_UC}}) message(STATUS " C Flags : " ${CMAKE_C_FLAGS} " " ${CMAKE_C_FLAGS_${CMAKE_BUILD_TYPE_UC}}) -- cgit v0.12