fix test-force target on VS2010

This commit is contained in:
vvaintroub 2009-11-21 18:40:03 +01:00
parent eb53bc5a2a
commit cd0b755c62

View file

@ -48,9 +48,9 @@ IF(UNIX)
ENDIF() ENDIF()
IF(CMAKE_GENERATOR MATCHES "Visual Studio") IF(CMAKE_GENERATOR MATCHES "Visual Studio")
SET(SETCONFIG_COMMAND set MTR_VS_CONFIG=$(OutDir)) SET(SETCONFIG_COMMAND set MTR_VS_CONFIG=${CMAKE_CFG_INTDIR})
ELSEIF(CMAKE_GENERATOR MATCHES "Xcode") ELSEIF(CMAKE_GENERATOR MATCHES "Xcode")
SET(SETCONFIG_COMMAND export MTR_VS_CONFIG=$(CONFIGURATION)) SET(SETCONFIG_COMMAND export MTR_VS_CONFIG=${CMAKE_CFG_INTDIR})
ELSE() ELSE()
SET(SETCONFIG_COMMAND echo Running tests) SET(SETCONFIG_COMMAND echo Running tests)
ENDIF() ENDIF()