diff options
author | Brad King <brad.king@kitware.com> | 2021-02-01 18:29:51 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-02-03 16:35:31 (GMT) |
commit | b6071c93f556a2ee1ad30eae0f3a1dbbb5b5a1d7 (patch) | |
tree | b5057dae0a34d439afaa0f51293a56acf2e3b409 /Source/cmSystemTools.cxx | |
parent | c28dbd7e308968089bf97df71d4fd74c99e718f1 (diff) | |
download | CMake-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.cxx | 14 |
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()); |