suppress "unknown compiler" warning for MSVC

This commit is contained in:
Enno Rehling 2013-12-26 23:30:24 -08:00
parent 71d75b7c18
commit 0aa4272d42
1 changed files with 1 additions and 0 deletions

View File

@ -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)