diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2017-07-05 22:05:38 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2017-07-05 22:05:38 +0200 |
commit | 22e259a6808e39e510a25eaa2b9205e7593612ab (patch) | |
tree | 790af4b3dba7bcf7af32b2b7b05b3fe945161bb5 | |
parent | f26e6eeba5d0e963bad156d7c070a99303a00b40 (diff) | |
download | desktop-tools-22e259a6808e39e510a25eaa2b9205e7593612ab.tar.gz desktop-tools-22e259a6808e39e510a25eaa2b9205e7593612ab.tar.xz desktop-tools-22e259a6808e39e510a25eaa2b9205e7593612ab.zip |
CMakeLists.txt: fix variable name
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 0d53c25..393f586 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,11 +2,11 @@ project (desktop-tools C) cmake_minimum_required (VERSION 2.8.11) # 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") |