Ninja: CMAKE_USE_NINJA is the name of the macro

This commit is contained in:
Peter Kuemmel 2012-04-08 14:45:05 +02:00
parent 2a081a2b3a
commit c9747f34ce
1 changed files with 1 additions and 1 deletions

View File

@ -382,7 +382,7 @@ IF(CMAKE_ENABLE_NINJA)
)
ADD_DEFINITIONS(-DCMAKE_USE_NINJA)
ELSE()
MESSAGE(STATUS "Ninja generator disabled, enforce with -DCMAKE_USE_NINJA=ON")
MESSAGE(STATUS "Ninja generator disabled, enforce with -DCMAKE_ENABLE_NINJA=ON")
ENDIF()
# create a library used by the command line and the GUI