changeset 1561:c9e0e709485b

fix
author jodogne
date Fri, 21 Aug 2015 12:08:43 +0200
parents 307b9ea6c39b
children 9bb416445319
files Resources/CMake/VisualStudioPrecompiledHeaders.cmake
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Resources/CMake/VisualStudioPrecompiledHeaders.cmake	Fri Aug 21 11:43:24 2015 +0200
+++ b/Resources/CMake/VisualStudioPrecompiledHeaders.cmake	Fri Aug 21 12:08:43 2015 +0200
@@ -1,6 +1,6 @@
 macro(ADD_VISUAL_STUDIO_PRECOMPILED_HEADERS PrecompiledHeaders PrecompiledSource Sources)
   get_filename_component(PrecompiledBasename ${PrecompiledHeaders} NAME_WE)
-  set(PrecompiledBinary "${PrecompiledBasename}_$(Configuration).pch")
+  set(PrecompiledBinary "${PrecompiledBasename}_$(ConfigurationName).pch")
 
   set_source_files_properties(${PrecompiledSource}
     PROPERTIES COMPILE_FLAGS "/Yc\"${PrecompiledHeaders}\" /Fp\"${PrecompiledBinary}\""