Tests/RunCMake/ParseImplicitLinkInfo: Fix ExcludeDirs test case

In commit 459d1cc095 (Tests: Verify that linker tool is detected and
identified where expected, 2023-12-13, v3.29.0-rc1~176^2) we renamed the
inspection result variables but did not update `ExcludeDirs`.
This commit is contained in:
Brad King
2025-05-05 11:59:57 -04:00
parent 35c86a88c1
commit b10a2bf63a

View File

@@ -1,4 +1,7 @@
include("${info}")
block()
include("${info}")
set(INFO_CMAKE_C_IMPLICIT_LINK_DIRECTORIES "${CMAKE_C_IMPLICIT_LINK_DIRECTORIES}" PARENT_SCOPE)
endblock()
list(GET INFO_CMAKE_C_IMPLICIT_LINK_DIRECTORIES -1 last_dir)
set(ENV{CMAKE_C_IMPLICIT_LINK_DIRECTORIES_EXCLUDE} "${last_dir}")
enable_language(C)