aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p@janouch.name>2018-06-24 00:15:53 +0200
committerPřemysl Janouch <p@janouch.name>2018-06-24 00:15:53 +0200
commit333efdc70f89f5582cf21976d127e17ecd5c5b03 (patch)
treed9af1ec681a6aa0ddbbe5a5b7e3f256b6f10ddf3
parent5e88608286089cbcce81fd8fa9217cf77a1f7576 (diff)
downloadjson-rpc-shell-333efdc70f89f5582cf21976d127e17ecd5c5b03.tar.gz
json-rpc-shell-333efdc70f89f5582cf21976d127e17ecd5c5b03.tar.xz
json-rpc-shell-333efdc70f89f5582cf21976d127e17ecd5c5b03.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 97c63cb..895a6e5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2,10 +2,10 @@ project (acid 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 "-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")