commit 0612064c
No loner force postfix "d" in debug mode.
Can use CMAKE_DEBUG_POSTFIX if needed:
cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_DEBUG_POSTFIX=_d ..
Changed files
| M | CMakeLists.txt before |
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4c67a24..1cad894 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -9,7 +9,7 @@ add_library(platform_folders
sago/platform_folders.cpp
)
-set_target_properties(platform_folders PROPERTIES DEBUG_POSTFIX d)
+set_target_properties(platform_folders PROPERTIES DEBUG_POSTFIX "${CMAKE_DEBUG_POSTFIX}")
# Creates an alias so that people building in-tree (instead of using find_package)...
# can still link against the same target