forked from github/server
suppress "unknown compiler" warning for MSVC
This commit is contained in:
parent
71d75b7c18
commit
0aa4272d42
|
@ -16,6 +16,7 @@ INCLUDE_DIRECTORIES (${CMAKE_BINARY_DIR}/include)
|
|||
|
||||
IF(CMAKE_COMPILER_IS_GNUCC)
|
||||
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -DHAVE__BOOL")
|
||||
ELSEIF(MSVC)
|
||||
ELSE(CMAKE_COMPILER_IS_GNUCC)
|
||||
MESSAGE(STATUS "Unknown compiler ${CMAKE_C_COMPILER_ID}")
|
||||
ENDIF(CMAKE_COMPILER_IS_GNUCC)
|
||||
|
|
Loading…
Reference in New Issue