summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-02-01 18:29:51 (GMT)
committerBrad King <brad.king@kitware.com>2021-02-03 16:35:31 (GMT)
commitb6071c93f556a2ee1ad30eae0f3a1dbbb5b5a1d7 (patch)
treeb5057dae0a34d439afaa0f51293a56acf2e3b409 /Source/cmSystemTools.cxx
parentc28dbd7e308968089bf97df71d4fd74c99e718f1 (diff)
downloadCMake-b6071c93f556a2ee1ad30eae0f3a1dbbb5b5a1d7.zip
CMake-b6071c93f556a2ee1ad30eae0f3a1dbbb5b5a1d7.tar.gz
CMake-b6071c93f556a2ee1ad30eae0f3a1dbbb5b5a1d7.tar.bz2
Rename CMAKE_USE_ELF_PARSER to CMake_USE_ELF_PARSER
We use the `CMake_` prefix for options affecting CMake itself.
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r--Source/cmSystemTools.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index 18c266f..95e2a35 100644
--- a/Source/cmSystemTools.cxx
+++ b/Source/cmSystemTools.cxx
@@ -45,7 +45,7 @@
# include "cmCryptoHash.h"
#endif
-#if defined(CMAKE_USE_ELF_PARSER)
+#if defined(CMake_USE_ELF_PARSER)
# include "cmELF.h"
#endif
@@ -2317,7 +2317,7 @@ bool cmSystemTools::GuessLibrarySOName(std::string const& fullPath,
{
// For ELF shared libraries use a real parser to get the correct
// soname.
-#if defined(CMAKE_USE_ELF_PARSER)
+#if defined(CMake_USE_ELF_PARSER)
cmELF elf(fullPath.c_str());
if (elf) {
return elf.GetSOName(soname);
@@ -2360,7 +2360,7 @@ bool cmSystemTools::GuessLibraryInstallName(std::string const& fullPath,
return false;
}
-#if defined(CMAKE_USE_ELF_PARSER)
+#if defined(CMake_USE_ELF_PARSER)
std::string::size_type cmSystemToolsFindRPath(std::string const& have,
std::string const& want)
{
@@ -2394,7 +2394,7 @@ std::string::size_type cmSystemToolsFindRPath(std::string const& have,
}
#endif
-#if defined(CMAKE_USE_ELF_PARSER)
+#if defined(CMake_USE_ELF_PARSER)
struct cmSystemToolsRPathInfo
{
unsigned long Position;
@@ -2404,7 +2404,7 @@ struct cmSystemToolsRPathInfo
};
#endif
-#if defined(CMAKE_USE_ELF_PARSER)
+#if defined(CMake_USE_ELF_PARSER)
bool cmSystemTools::ChangeRPath(std::string const& file,
std::string const& oldRPath,
std::string const& newRPath,
@@ -2720,7 +2720,7 @@ int cmSystemTools::strverscmp(std::string const& lhs, std::string const& rhs)
return cm_strverscmp(lhs.c_str(), rhs.c_str());
}
-#if defined(CMAKE_USE_ELF_PARSER)
+#if defined(CMake_USE_ELF_PARSER)
bool cmSystemTools::RemoveRPath(std::string const& file, std::string* emsg,
bool* removed)
{
@@ -2872,7 +2872,7 @@ bool cmSystemTools::RemoveRPath(std::string const& /*file*/,
bool cmSystemTools::CheckRPath(std::string const& file,
std::string const& newRPath)
{
-#if defined(CMAKE_USE_ELF_PARSER)
+#if defined(CMake_USE_ELF_PARSER)
// Parse the ELF binary.
cmELF elf(file.c_str());