aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p@janouch.name>2018-06-24 02:45:17 +0200
committerPřemysl Janouch <p@janouch.name>2018-06-24 02:45:17 +0200
commitb990e7b6a244958519bee62a5c830b8d93f9bc72 (patch)
tree5f07bdfc08f6ad99103649a793bf8d9d3c4dc8f6
parentd37a38c1004352bb726b0afe03fbabe750eec081 (diff)
downloadneetdraw-b990e7b6a244958519bee62a5c830b8d93f9bc72.tar.gz
neetdraw-b990e7b6a244958519bee62a5c830b8d93f9bc72.tar.xz
neetdraw-b990e7b6a244958519bee62a5c830b8d93f9bc72.zip
CMakeLists.txt: fix variable name
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index cbb7583..f2e1b73 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2,11 +2,11 @@ project (autistdraw C)
cmake_minimum_required (VERSION 2.8.5)
# Moar warnings
-if ("${CMAKE_C_COMPILER_ID}" MATCHES "GNU" OR CMAKE_COMPILER_IS_GNUC)
+if ("${CMAKE_C_COMPILER_ID}" MATCHES "GNU" OR CMAKE_COMPILER_IS_GNUCC)
# -Wunused-function is pretty annoying here, as everything is static
set (wdisabled "-Wno-unused-function -Wno-implicit-fallthrough")
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -Wall -Wextra ${wdisabled}")
-endif ("${CMAKE_C_COMPILER_ID}" MATCHES "GNU" OR CMAKE_COMPILER_IS_GNUC)
+endif ("${CMAKE_C_COMPILER_ID}" MATCHES "GNU" OR CMAKE_COMPILER_IS_GNUCC)
if ("${CMAKE_SYSTEM_NAME}" MATCHES "BSD")
include_directories (/usr/local/include)