cmake-format

This commit is contained in:
Marcus Holland-Moritz 2021-03-03 14:36:21 +01:00
parent 0bcea59360
commit 07bbe7eee4

View File

@ -41,9 +41,9 @@ if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
endif()
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
add_compile_options(-fdiagnostics-color=always)
add_compile_options(-fdiagnostics-color=always)
elseif("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
add_compile_options(-fcolor-diagnostics)
add_compile_options(-fcolor-diagnostics)
endif()
include(${CMAKE_SOURCE_DIR}/cmake/version.cmake)