diff options
author | Robert Maynard <rmaynard@nvidia.com> | 2022-08-31 14:14:29 (GMT) |
---|---|---|
committer | Robert Maynard <rmaynard@nvidia.com> | 2022-09-07 19:08:41 (GMT) |
commit | 0c141b0393de6fccbef5ab54e93c70720345ed92 (patch) | |
tree | cd9e71e56595f115868155c366e9aae0f517d73b /Source/cmCoreTryCompile.h | |
parent | ecfc63a9b0e73b2c9525a4ba65ceb22759ab00fd (diff) | |
download | CMake-0c141b0393de6fccbef5ab54e93c70720345ed92.zip CMake-0c141b0393de6fccbef5ab54e93c70720345ed92.tar.gz CMake-0c141b0393de6fccbef5ab54e93c70720345ed92.tar.bz2 |
try_compile: Record output location instead of reverse computing it
Fixes #23887, #23942, #20163, #18288
Diffstat (limited to 'Source/cmCoreTryCompile.h')
-rw-r--r-- | Source/cmCoreTryCompile.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmCoreTryCompile.h b/Source/cmCoreTryCompile.h index b483f0f..729aa9f 100644 --- a/Source/cmCoreTryCompile.h +++ b/Source/cmCoreTryCompile.h @@ -94,8 +94,7 @@ public: TryCompileCode. The result is stored in OutputFile. If nothing is found, the error message is stored in FindErrorMessage. */ - void FindOutputFile(const std::string& targetName, - cmStateEnums::TargetType targetType); + void FindOutputFile(const std::string& targetName); std::string BinaryDirectory; std::string OutputFile; |