Commit cd0b755c authored by vvaintroub's avatar vvaintroub

fix test-force target on VS2010

parent eb53bc5a
...@@ -48,9 +48,9 @@ IF(UNIX) ...@@ -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()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment