summaryrefslogtreecommitdiff
path: root/configure.cmake
diff options
context:
space:
mode:
authorVladislav Vaintroub <vvaintroub@mysql.com>2009-11-16 14:45:06 +0100
committerVladislav Vaintroub <vvaintroub@mysql.com>2009-11-16 14:45:06 +0100
commita15d4127fd115069f4322a9ebd4db67af39c977f (patch)
tree09f9f30fcdfb4307a317b6ef7c2c992c4910f260 /configure.cmake
parent20b785c0fb112da72979431f18654d4f93acdaa6 (diff)
downloadmariadb-git-a15d4127fd115069f4322a9ebd4db67af39c977f.tar.gz
Fixes for cmake2.8
Diffstat (limited to 'configure.cmake')
-rw-r--r--configure.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.cmake b/configure.cmake
index aff4c1403f9..b35548b2e2f 100644
--- a/configure.cmake
+++ b/configure.cmake
@@ -209,7 +209,8 @@ IF(WIN32)
ADD_DEFINITIONS("-DWIN32_LEAN_AND_MEAN")
IF (MSVC_VERSION GREATER 1400)
# Speed up multiprocessor build
- ADD_DEFINITIONS("/MP")
+ SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /MP")
+ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP")
ENDIF()
# default to x86 platform. We'll check for X64 in a bit