summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorNils Gladitz <nilsgladitz@gmail.com>2014-07-24 20:18:21 (GMT)
committerBrad King <brad.king@kitware.com>2014-07-31 13:17:53 (GMT)
commitf86850ef60b7dc008a144722bd0c803289a8ab76 (patch)
treed9fc952fe7e6dff216bf6bd24626bb3b5bf422fb /Modules
parent028ad31878d25dad055ed9588d81568b284a272e (diff)
downloadCMake-f86850ef60b7dc008a144722bd0c803289a8ab76.zip
CMake-f86850ef60b7dc008a144722bd0c803289a8ab76.tar.gz
CMake-f86850ef60b7dc008a144722bd0c803289a8ab76.tar.bz2
Genex: Implement generator expressions for target PDB files.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Platform/Windows-MSVC.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/Platform/Windows-MSVC.cmake b/Modules/Platform/Windows-MSVC.cmake
index 8e988c9..ecb323a 100644
--- a/Modules/Platform/Windows-MSVC.cmake
+++ b/Modules/Platform/Windows-MSVC.cmake
@@ -261,4 +261,5 @@ macro(__windows_compiler_msvc lang)
set(CMAKE_${lang}_FLAGS_RELEASE_INIT "/MD /O2 /Ob2 /D NDEBUG")
set(CMAKE_${lang}_FLAGS_RELWITHDEBINFO_INIT "/MD /Zi /O2 /Ob1 /D NDEBUG")
set(CMAKE_${lang}_FLAGS_MINSIZEREL_INIT "/MD /O1 /Ob1 /D NDEBUG")
+ set(CMAKE_${lang}_LINKER_SUPPORTS_PDB ON)
endmacro()