From 3b36c73c2a95e3fe2db86cd34f19c29c993a3098 Mon Sep 17 00:00:00 2001 From: Charles Karney Date: Sun, 6 Aug 2017 11:46:36 -0400 Subject: Fix typo in CMakeLists.txt --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a6d5ae05..702eafaf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -68,7 +68,7 @@ endif() include (CheckCSourceCompiles) if (MSVC) set (CMAKE_REQUIRED_FLAGS "${CMAKE_C_FLAGS} /WX") -else +else () set (CMAKE_REQUIRED_LIBRARIES m) set (CMAKE_REQUIRED_FLAGS "${CMAKE_C_FLAGS} -Werror") endif () -- cgit v1.2.3