summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p@janouch.name>2018-06-24 04:29:06 +0200
committerPřemysl Janouch <p@janouch.name>2018-06-24 04:29:06 +0200
commit64ba783d0f6e4884664c0449803f6857b672a571 (patch)
tree6ccca23d5e236e1623e80f0e599eb1f1430fd8df
parentaace4b9833048039cd57d25c9c3644f23b83b072 (diff)
downloadnncmpp-64ba783d0f6e4884664c0449803f6857b672a571.tar.gz
nncmpp-64ba783d0f6e4884664c0449803f6857b672a571.tar.xz
nncmpp-64ba783d0f6e4884664c0449803f6857b672a571.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 8061b16..614adf5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2,10 +2,10 @@ project (nncmpp 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)
set (wdisabled "-Wno-unused-function -Wno-implicit-fallthrough")
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99 -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)
# Version
set (project_VERSION_MAJOR "0")