Remove clang compiler flag

This commit is contained in:
Jonas Kvinge 2019-11-15 23:24:37 +01:00
parent 1b65dcd7df
commit 8ac83a46f5
1 changed files with 0 additions and 5 deletions

View File

@ -56,11 +56,6 @@ if(${CMAKE_BUILD_TYPE} MATCHES "Debug")
set(DEBUG ON)
endif()
if (CMAKE_CXX_COMPILER MATCHES ".*clang")
set(CMAKE_COMPILER_IS_CLANGXX 1)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-uninitialized")
endif()
find_program(CCACHE_EXECUTABLE NAMES ccache)
if (CCACHE_EXECUTABLE)
message(STATUS "ccache found: will be used for compilation and linkage")