From 424612c0e79886e9ad7e9b172b15a73229ff7f46 Mon Sep 17 00:00:00 2001 From: Nuno Subtil Date: Fri, 25 Jan 2019 09:30:37 -0800 Subject: [PATCH] build: Do not cache debug library suffix 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5dc9c664..aafa70ed 100644 --- 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)