projects
/
platform
/
upstream
/
glslang.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
493dee0
)
build: Do not cache debug library suffix
author
Nuno Subtil
<nsubtil@nvidia.com>
Fri, 25 Jan 2019 17:30:37 +0000
(09:30 -0800)
committer
Nuno Subtil
<nsubtil@nvidia.com>
Fri, 25 Jan 2019 17:30:37 +0000
(09:30 -0800)
For nested project builds, writing CMAKE_DEBUG_POSTFIX into the cache
ends up affecting other projects. Caching this value doesn't seem to be
required in practice, so this change removes the cache tag.
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 5dc9c66475d84ff00c5155d6d9f5d109be5f1f90..aafa70ed1aac9252d5829915c740389e6ef03a33 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-73,7
+73,7
@@
if(ENABLE_HLSL)
endif(ENABLE_HLSL)
if(WIN32)
- set(CMAKE_DEBUG_POSTFIX "d"
CACHE STRING "Adds a postfix for debug-built libraries."
)
+ set(CMAKE_DEBUG_POSTFIX "d")
if(MSVC)
include(ChooseMSVCCRT.cmake)
endif(MSVC)