summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvvaintroub <vvaintroub@w7>2009-11-21 18:40:03 +0100
committervvaintroub <vvaintroub@w7>2009-11-21 18:40:03 +0100
commitcd0b755c625bfff265af1b8977424a988f945122 (patch)
tree88ca3b7ece82c32d4ae76daf4b3b524e1e0e2043
parenteb53bc5a2af3963a4b4cfe6e569e8ad074469d01 (diff)
downloadmariadb-git-cd0b755c625bfff265af1b8977424a988f945122.tar.gz
fix test-force target on VS2010
-rw-r--r--mysql-test/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/CMakeLists.txt b/mysql-test/CMakeLists.txt
index b3afa4f8f98..c91940523b4 100644
--- a/mysql-test/CMakeLists.txt
+++ b/mysql-test/CMakeLists.txt
@@ -48,9 +48,9 @@ IF(UNIX)
ENDIF()
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")
- SET(SETCONFIG_COMMAND export MTR_VS_CONFIG=$(CONFIGURATION))
+ SET(SETCONFIG_COMMAND export MTR_VS_CONFIG=${CMAKE_CFG_INTDIR})
ELSE()
SET(SETCONFIG_COMMAND echo Running tests)
ENDIF()