Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[build] Allow using ninja generator on non-win os'es
  • Loading branch information
m-kuhn committed Jun 6, 2016
1 parent 4648143 commit f8c3af2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Expand Up @@ -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
Expand Down

0 comments on commit f8c3af2

Please sign in to comment.