aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorCharles Karney <charles.karney@sri.com>2017-08-06 11:46:36 -0400
committerCharles Karney <charles.karney@sri.com>2017-08-06 11:46:36 -0400
commit3b36c73c2a95e3fe2db86cd34f19c29c993a3098 (patch)
tree58319a352729f2e056070fb9277a32b9bb083fab /CMakeLists.txt
parent5a0ef580bf85bc0cd4cf3b3bd7780c6e117844d5 (diff)
downloadPROJ-3b36c73c2a95e3fe2db86cd34f19c29c993a3098.tar.gz
PROJ-3b36c73c2a95e3fe2db86cd34f19c29c993a3098.zip
Fix typo in CMakeLists.txt
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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 ()