mirror of
https://github.com/Kitware/CMake.git
synced 2025-12-31 10:50:16 -06:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user