diff options
author | daemyung jang <dm86.jang@gmail.com> | 2019-12-21 02:59:03 +0300 |
---|---|---|
committer | daemyung jang <dm86.jang@gmail.com> | 2019-12-21 02:59:03 +0300 |
commit | 0b5691394c1872783b61510c9e7b229f46a86308 (patch) | |
tree | cf8d02cca452a109b78ba843fcfb481f41347365 /CMakeLists.txt | |
parent | f912c32898dbf558635c9d5a2d50ff887c1402ae (diff) |
Add debug prefix on Windows
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 7dbb6b58..f9f95b72 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -83,6 +83,10 @@ if(SPIRV_CROSS_FORCE_STL_TYPES) set(spirv-compiler-defines ${spirv-compiler-defines} SPIRV_CROSS_FORCE_STL_TYPES) endif() +if (WIN32) + set(CMAKE_DEBUG_POSTFIX "d") +endif() + if (CMAKE_COMPILER_IS_GNUCXX OR (${CMAKE_CXX_COMPILER_ID} MATCHES "Clang")) set(spirv-compiler-options ${spirv-compiler-options} -Wall -Wextra -Wshadow) if (SPIRV_CROSS_MISC_WARNINGS) |