disable two warning options in METIS which are not understood by my clang compiler.
parent
1e3ae3b3d3
commit
3804057daf
|
|
@ -4,11 +4,11 @@ project(METIS)
|
|||
# Add flags for currect directory and below
|
||||
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
|
||||
add_definitions(-Wno-unused-variable)
|
||||
add_definitions(-Wno-sometimes-uninitialized)
|
||||
# add_definitions(-Wno-sometimes-uninitialized)
|
||||
endif()
|
||||
|
||||
add_definitions(-Wno-unknown-pragmas)
|
||||
add_definitions(-Wunused-but-set-variable)
|
||||
#add_definitions(-Wunused-but-set-variable)
|
||||
|
||||
set(GKLIB_PATH ${PROJECT_SOURCE_DIR}/GKlib CACHE PATH "path to GKlib")
|
||||
set(SHARED FALSE CACHE BOOL "build a shared library")
|
||||
|
|
|
|||
Loading…
Reference in New Issue