aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p@janouch.name>2018-06-24 01:03:40 +0200
committerPřemysl Janouch <p@janouch.name>2018-06-24 01:03:40 +0200
commit953789650ee894ba8d8f1a4ed5241e8c4e402760 (patch)
tree43e8d440b93e0d09418ada7ce42f7187c154625c
parent93641a7c98b44034c129fd1d893d8a9474faa6d7 (diff)
downloadtermo-953789650ee894ba8d8f1a4ed5241e8c4e402760.tar.gz
termo-953789650ee894ba8d8f1a4ed5241e8c4e402760.tar.xz
termo-953789650ee894ba8d8f1a4ed5241e8c4e402760.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 f12a6cf..98ae77b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,10 +1,10 @@
project (termo C)
cmake_minimum_required (VERSION 2.8.5)
-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 (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99")
set (CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -Wall -Wextra")
-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)