summaryrefslogtreecommitdiffstats
path: root/Source/cmCoreTryCompile.h
diff options
context:
space:
mode:
authorRobert Maynard <rmaynard@nvidia.com>2022-08-31 14:14:29 (GMT)
committerRobert Maynard <rmaynard@nvidia.com>2022-09-07 19:08:41 (GMT)
commit0c141b0393de6fccbef5ab54e93c70720345ed92 (patch)
treecd9e71e56595f115868155c366e9aae0f517d73b /Source/cmCoreTryCompile.h
parentecfc63a9b0e73b2c9525a4ba65ceb22759ab00fd (diff)
downloadCMake-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.h3
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;