From 0aa4272d42ded876d1de09bf7daeaffa6d266aa8 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Thu, 26 Dec 2013 23:30:24 -0800 Subject: [PATCH] suppress "unknown compiler" warning for MSVC --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4e1a35b1d..4861dd3ee 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)