mirror of
https://github.com/Kitware/CMake.git
synced 2026-07-18 13:30:22 +00:00
If a non-IMPORTED library is added to the INTERFACE_LINK_LIBRARIES
of a IMPORTED target, the non-IMPORTED target needs to become a
target dependency and link dependency of the consuming target.
This is already the case since commit 30962029 (Make targets depend
on the link interface of their dependees, 2012-12-26), and fixed in
the parent commit, so test that it works.
12 lines
166 B
C++
12 lines
166 B
C++
|
|
#ifndef USING_TESTSHAREDLIBREQUIRED
|
|
#error Expected USING_TESTSHAREDLIBREQUIRED
|
|
#endif
|
|
|
|
#include "excludedFromAll.h"
|
|
|
|
int main(void)
|
|
{
|
|
return excludedFromAll();
|
|
}
|