summaryrefslogtreecommitdiffstats
path: root/Source/cmBinUtilsLinuxELFLinker.h
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2021-07-12 19:38:43 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2021-07-12 20:11:38 (GMT)
commitb2c03347b07e24a5298361451277264fda8fdb4c (patch)
treea75226752cd15e5b81a079c3410ca54540de51a3 /Source/cmBinUtilsLinuxELFLinker.h
parentac984cb5f75349fd5ed00cc52fbb5154b7bb1527 (diff)
downloadCMake-b2c03347b07e24a5298361451277264fda8fdb4c.zip
CMake-b2c03347b07e24a5298361451277264fda8fdb4c.tar.gz
CMake-b2c03347b07e24a5298361451277264fda8fdb4c.tar.bz2
file(GET_RUNTIME_DEPENDENCIES): Check architecture of dependencies
Fixes: #22106
Diffstat (limited to 'Source/cmBinUtilsLinuxELFLinker.h')
-rw-r--r--Source/cmBinUtilsLinuxELFLinker.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmBinUtilsLinuxELFLinker.h b/Source/cmBinUtilsLinuxELFLinker.h
index 4e7e36d..395ed56 100644
--- a/Source/cmBinUtilsLinuxELFLinker.h
+++ b/Source/cmBinUtilsLinuxELFLinker.h
@@ -3,6 +3,9 @@
#pragma once
+#include "cmConfigure.h" // IWYU pragma: keep
+
+#include <cstdint>
#include <memory>
#include <string>
#include <vector>
@@ -29,6 +32,7 @@ private:
std::unique_ptr<cmLDConfigTool> LDConfigTool;
bool HaveLDConfigPaths = false;
std::vector<std::string> LDConfigPaths;
+ std::uint16_t Machine = 0;
bool ScanDependencies(std::string const& file,
std::vector<std::string> const& parentRpaths);