summaryrefslogtreecommitdiffstats
path: root/CompileFlags.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-09-14 14:11:43 (GMT)
committerBrad King <brad.king@kitware.com>2016-09-14 14:12:30 (GMT)
commit152bbe5068fc125351f728f04a14113e08f87671 (patch)
treebc4bddb25473f693da4a527b3f83bde1b84e74f4 /CompileFlags.cmake
parenta6d3f5418c4f2c1bd99272a9fac1cf4e33b1df09 (diff)
downloadCMake-152bbe5068fc125351f728f04a14113e08f87671.zip
CMake-152bbe5068fc125351f728f04a14113e08f87671.tar.gz
CMake-152bbe5068fc125351f728f04a14113e08f87671.tar.bz2
Modules: Fix typos in name of `CMAKE_COMPILER_IS_GNUCC` variable
It is not called `CMAKE_COMPILER_IS_GNUC` (without last `C`). Closes: #16297
Diffstat (limited to 'CompileFlags.cmake')
-rw-r--r--CompileFlags.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/CompileFlags.cmake b/CompileFlags.cmake
index 3c053fa..535f68b 100644
--- a/CompileFlags.cmake
+++ b/CompileFlags.cmake
@@ -64,7 +64,7 @@ endif()
# Workaround for short jump tables on PA-RISC
if(CMAKE_SYSTEM_PROCESSOR MATCHES "^parisc")
- if(CMAKE_COMPILER_IS_GNUC)
+ if(CMAKE_COMPILER_IS_GNUCC)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mlong-calls")
endif()
if(CMAKE_COMPILER_IS_GNUCXX)