build: Do not cache debug library suffix
authorNuno Subtil <nsubtil@nvidia.com>
Fri, 25 Jan 2019 17:30:37 +0000 (09:30 -0800)
committerNuno 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

index 5dc9c66475d84ff00c5155d6d9f5d109be5f1f90..aafa70ed1aac9252d5829915c740389e6ef03a33 100644 (file)
@@ -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)