projects
/
libcds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
baf018a
)
Fixed CMake messages
author
khizmax
<khizmax@gmail.com>
Thu, 16 Jun 2016 14:13:23 +0000
(17:13 +0300)
committer
khizmax
<khizmax@gmail.com>
Thu, 16 Jun 2016 14:13:23 +0000
(17:13 +0300)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index e2b929f9652bf17b87c25f6cd809ce5e32c7f4c4..ffdcf50c71892aa1a01341378c75c7b41ded6b9d 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-85,7
+85,7
@@
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -D_DEBUG")
message("Build type -- ${CMAKE_BUILD_TYPE}")
message("Compiler version: ${CMAKE_CXX_COMPILER_ID} ${CMAKE_CXX_COMPILER_VERSION}")
-if (CMAKE_BUILD_TYPE
MATCHES Debug
)
+if (CMAKE_BUILD_TYPE
STREQUAL "DEBUG"
)
message("Compiler flags: ${CMAKE_CXX_FLAGS} ${CMAKE_CXX_FLAGS_DEBUG}")
else()
message("Compiler flags: ${CMAKE_CXX_FLAGS} ${CMAKE_CXX_FLAGS_RELEASE}")