summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/ParseImplicitData/hand-CXX-relative.input
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-01-12 17:00:56 (GMT)
committerBrad King <brad.king@kitware.com>2023-01-12 17:05:42 (GMT)
commit607bccb4efe15d7c33618a2c6324d2dbeccb5119 (patch)
tree7142a143198561ec554ed68e38f6cd11f68bbaed /Tests/RunCMake/ParseImplicitData/hand-CXX-relative.input
parent6b92224f6c8758e5e84b1425273f4abf3b278f54 (diff)
downloadCMake-607bccb4efe15d7c33618a2c6324d2dbeccb5119.zip
CMake-607bccb4efe15d7c33618a2c6324d2dbeccb5119.tar.gz
CMake-607bccb4efe15d7c33618a2c6324d2dbeccb5119.tar.bz2
Restore implicit include directory extraction for adaptive relative paths
Update the logic added by commit ef41d49812 (Fix implicit include directory extraction for adaptive relative paths, 2019-04-08, v3.14.2~5^2) to account for the new `try_compile` work directory used for the ABI check since commit 2edf0fc6d7 (Modules: Use new keyword-dispatched try_compile signature, 2022-09-13, v3.25.0-rc1~144^2). Paths relative to the work directory will now have one more `../` in them, so update the test data to match. Fixes: #24279
Diffstat (limited to 'Tests/RunCMake/ParseImplicitData/hand-CXX-relative.input')
-rw-r--r--Tests/RunCMake/ParseImplicitData/hand-CXX-relative.input4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/RunCMake/ParseImplicitData/hand-CXX-relative.input b/Tests/RunCMake/ParseImplicitData/hand-CXX-relative.input
index 0b223a1..568933a 100644
--- a/Tests/RunCMake/ParseImplicitData/hand-CXX-relative.input
+++ b/Tests/RunCMake/ParseImplicitData/hand-CXX-relative.input
@@ -16,8 +16,8 @@ This is a hand-written test case.
#include "..." search starts here:
#include <...> search starts here:
/usr/local/include
- ../../../adaptive/relative/include
+ ../../../../adaptive/relative/include
/usr/include
End of search list.
-/usr/bin/ld -L/usr/lib64 -L../../../adaptive/relative/lib
+/usr/bin/ld -L/usr/lib64 -L../../../../adaptive/relative/lib