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 5dc9c66..aafa70e 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)