summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-02-01 18:31:02 (GMT)
committerBrad King <brad.king@kitware.com>2021-02-03 16:35:31 (GMT)
commitcdcfe3eb99f2471740dccdbbef5c47414c15e661 (patch)
treed93e0ee9e5d2484ed05be931ad441980197ee629 /Source/cmSystemTools.cxx
parentb6071c93f556a2ee1ad30eae0f3a1dbbb5b5a1d7 (diff)
downloadCMake-cdcfe3eb99f2471740dccdbbef5c47414c15e661.zip
CMake-cdcfe3eb99f2471740dccdbbef5c47414c15e661.tar.gz
CMake-cdcfe3eb99f2471740dccdbbef5c47414c15e661.tar.bz2
Rename CMAKE_USE_MACH_PARSER to CMake_USE_MACH_PARSER
We use the `CMake_` prefix for options affecting CMake itself.
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r--Source/cmSystemTools.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index 95e2a35..8c5a657 100644
--- a/Source/cmSystemTools.cxx
+++ b/Source/cmSystemTools.cxx
@@ -49,7 +49,7 @@
# include "cmELF.h"
#endif
-#if defined(CMAKE_USE_MACH_PARSER)
+#if defined(CMake_USE_MACH_PARSER)
# include "cmMachO.h"
#endif
@@ -2347,7 +2347,7 @@ bool cmSystemTools::GuessLibrarySOName(std::string const& fullPath,
bool cmSystemTools::GuessLibraryInstallName(std::string const& fullPath,
std::string& soname)
{
-#if defined(CMAKE_USE_MACH_PARSER)
+#if defined(CMake_USE_MACH_PARSER)
cmMachO macho(fullPath.c_str());
if (macho) {
return macho.GetInstallName(soname);