summaryrefslogtreecommitdiffstats
path: root/.hooks-config.bash
diff options
context:
space:
mode:
authorMatt McCormick <matt.mccormick@kitware.com>2015-08-20 02:40:38 (GMT)
committerBrad King <brad.king@kitware.com>2015-08-20 13:35:16 (GMT)
commitdc8822f0a7b4152c5cb880e6a7fccada767e2fb1 (patch)
tree3279bb2735c38bf3b496eb1f5f489a3f168d167e /.hooks-config.bash
parent4a6fe0290880bd56dd5141f06c9fa2b9e310162e (diff)
downloadCMake-dc8822f0a7b4152c5cb880e6a7fccada767e2fb1.zip
CMake-dc8822f0a7b4152c5cb880e6a7fccada767e2fb1.tar.gz
CMake-dc8822f0a7b4152c5cb880e6a7fccada767e2fb1.tar.bz2
CMakeDetermine{C,CXX}Compiler: Avoid if() auto-dereferene in quoted arguments
Exposed by a CMP0054 warning with code like: cmake_minimum_required(VERSION 2.8.9 FATAL_ERROR) project(MyProj NONE) enable_language(C) enable_language(CXX) While at it, use STREQUAL for testing the compiler id against "GNU". Suggested-by: Rolf Eike Beer <eike@sf-mail.de>
Diffstat (limited to '.hooks-config.bash')
0 files changed, 0 insertions, 0 deletions