Buildsystem/Windows: Minor adjustment to use the correct "environment"-variable in both VS2008 and VS2010

--HG--
branch : trunk
This commit is contained in:
click
2010-08-08 19:11:57 +02:00
parent 590199d8e1
commit 31160bcfce

View File

@@ -129,7 +129,7 @@ add_executable(genrev
if( CMAKE_GENERATOR MATCHES "Visual Studio" )
add_custom_target("revision.h" ALL
COMMAND "${CMAKE_BINARY_DIR}/bin/$(Configuration)/genrev"
COMMAND "${CMAKE_BINARY_DIR}/bin/$(ConfigurationName)/genrev"
${CMAKE_SOURCE_DIR}
WORKING_DIRECTORY "${CMAKE_BINARY_DIR}"
DEPENDS genrev