Merge pull request #311 from jherico/debug_postfix
Build: Produce different names for files in debug builds on MSVC
This commit is contained in:
commit
98f2b3bfe0
1 changed files with 1 additions and 0 deletions
|
|
@ -8,6 +8,7 @@ set(CMAKE_INSTALL_PREFIX "install" CACHE STRING "prefix")
|
||||||
project(glslang)
|
project(glslang)
|
||||||
|
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
|
set(CMAKE_DEBUG_POSTFIX "d")
|
||||||
include(ChooseMSVCCRT.cmake)
|
include(ChooseMSVCCRT.cmake)
|
||||||
add_definitions(-DGLSLANG_OSINCLUDE_WIN32)
|
add_definitions(-DGLSLANG_OSINCLUDE_WIN32)
|
||||||
elseif(UNIX)
|
elseif(UNIX)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue