Merge pull request #311 from jherico/debug_postfix

Build: Produce different names for files in debug builds on MSVC
This commit is contained in:
John Kessenich 2016-06-01 18:39:18 -06:00
commit 98f2b3bfe0

View File

@ -8,6 +8,7 @@ set(CMAKE_INSTALL_PREFIX "install" CACHE STRING "prefix")
project(glslang)
if(WIN32)
set(CMAKE_DEBUG_POSTFIX "d")
include(ChooseMSVCCRT.cmake)
add_definitions(-DGLSLANG_OSINCLUDE_WIN32)
elseif(UNIX)