Skip to content
Permalink
Browse files

[build] Allow using ninja generator on non-win os'es

  • Loading branch information
m-kuhn committed Jun 6, 2016
1 parent 4648143 commit f8c3af22dae6953eda0d8bd31ab80775f5d8b008
Showing with 2 additions and 2 deletions.
  1. +2 −2 CMakeLists.txt
@@ -150,10 +150,10 @@ IF (MSVC AND CMAKE_GENERATOR MATCHES "NMake")
SET (USING_NMAKE TRUE)
ENDIF (MSVC AND CMAKE_GENERATOR MATCHES "NMake")

IF (MSVC AND CMAKE_GENERATOR MATCHES "Ninja")
IF (CMAKE_GENERATOR MATCHES "Ninja")
# following variable is also used in qgsconfig.h
SET (USING_NINJA TRUE)
ENDIF (MSVC AND CMAKE_GENERATOR MATCHES "Ninja")
ENDIF (CMAKE_GENERATOR MATCHES "Ninja")

#############################################################
# check if lexer and parser are not missing

0 comments on commit f8c3af2

Please sign in to comment.
You can’t perform that action at this time.