enable color diagnostics with ninja

Signed-off-by: Jared Van Bortel <jared@nomic.ai>
This commit is contained in:
Jared Van Bortel
2025-02-18 13:44:32 -05:00
parent b194d71e86
commit c6d0a1f2b9
4 changed files with 9 additions and 5 deletions

View File

@@ -1,7 +1,5 @@
cmake_minimum_required(VERSION 3.25) # for try_compile SOURCE_FROM_VAR
include(../common/common.cmake)
set(APP_VERSION_MAJOR 3)
set(APP_VERSION_MINOR 10)
set(APP_VERSION_PATCH 1)
@@ -10,6 +8,8 @@ set(APP_VERSION "${APP_VERSION_BASE}-dev0")
project(gpt4all VERSION ${APP_VERSION_BASE} LANGUAGES CXX C)
include(../common/common.cmake)
if (CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
set(CMAKE_INSTALL_PREFIX ${CMAKE_BINARY_DIR}/install CACHE PATH "..." FORCE)
endif()