Fixes for cmake2.8

This commit is contained in:
Vladislav Vaintroub 2009-11-16 14:45:06 +01:00
commit a15d4127fd
4 changed files with 24 additions and 24 deletions

View file

@ -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