Tests: Fix wrong check in CPS import test

The CPS import test checks that an imported target is non-global twice,
and never properly checks that a globally imported target is actually
global. This looks like an obvious failure to update a check after
copy/pasting an existing check; fix it.
This commit is contained in:
Matthew Woehlke
2026-07-17 16:41:05 -04:00
parent f0c892d572
commit ff921d87ab
+1 -1
View File
@@ -192,7 +192,7 @@ if(NOT Global_FOUND)
elseif(NOT TARGET Global::Target)
message(SEND_ERROR "Global::Target missing !")
else()
expect_global(Foo::Empty FALSE)
expect_global(Global::Target TRUE)
endif()
###############################################################################