Ninja: enable ninja on Mac so all Mac CDash-builds are tested, cleanup later

This commit is contained in:
Peter Kümmel 2012-07-18 21:35:11 +02:00
parent 56aeac6e64
commit 52160bf68f
1 changed files with 1 additions and 1 deletions

View File

@ -364,7 +364,7 @@ ENDIF (WIN32)
# Enforce Ninja support by setting CMAKE_USE_NINJA # Enforce Ninja support by setting CMAKE_USE_NINJA
set(_CMAKE_DEFAULT_NINJA_VALUE TRUE) set(_CMAKE_DEFAULT_NINJA_VALUE TRUE)
if(APPLE) if(APPLE)
SET(_CMAKE_DEFAULT_NINJA_VALUE FALSE) SET(_CMAKE_DEFAULT_NINJA_VALUE TRUE)
endif() endif()
SET(CMAKE_ENABLE_NINJA ${_CMAKE_DEFAULT_NINJA_VALUE} CACHE BOOL SET(CMAKE_ENABLE_NINJA ${_CMAKE_DEFAULT_NINJA_VALUE} CACHE BOOL
"Enable the ninja generator for CMake. When enabled, some CMake tests still fail on OSX") "Enable the ninja generator for CMake. When enabled, some CMake tests still fail on OSX")