aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p@janouch.name>2018-06-24 04:58:54 +0200
committerPřemysl Janouch <p@janouch.name>2018-06-24 04:58:54 +0200
commitfa4e874f0811ebbb0e0f2d9ba4ec3fef907c8433 (patch)
tree7b1d0a099ea9301496cabc5f1f86490257f76c33
parent9c367cfe4991345297b902b1f88bd54d1f03fe23 (diff)
downloadponymap-fa4e874f0811ebbb0e0f2d9ba4ec3fef907c8433.tar.gz
ponymap-fa4e874f0811ebbb0e0f2d9ba4ec3fef907c8433.tar.xz
ponymap-fa4e874f0811ebbb0e0f2d9ba4ec3fef907c8433.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 87c81d4..62cea12 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2,11 +2,11 @@ project (ponymap 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 (CMAKE_C_FLAGS
"${CMAKE_C_FLAGS} -std=c99 -Wall -Wextra -Wno-unused-function")
-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")