Skip to content

Commit

Permalink
remove ninja as cmake generator
Browse files Browse the repository at this point in the history
  • Loading branch information
atar13 committed Nov 7, 2023
1 parent 42bef54 commit 2efd9f0
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,6 @@ FATAL: In-source builds are not allowed.
")
endif()

# Check if Ninja is available
find_program(NINJA_EXECUTABLE ninja)

# Set the default generator
if(NINJA_EXECUTABLE)
set(CMAKE_GENERATOR "Ninja")
else()
set(CMAKE_GENERATOR "Unix Makefiles") # Use a fallback generator
endif()

# enable build caching
find_program(CCACHE_FOUND ccache)
if(CCACHE_FOUND)
Expand Down

0 comments on commit 2efd9f0

Please sign in to comment.