Brad King 0400cd5dd1 Make $<LINK_ONLY> available to projects (#14751)
Previously this generator expression was used internally by the
target_link_libraries command to honor private linking requirements of
static libraries in their INTERFACE_LINK_LIBRARIES.  Remove the check
that limits $<LINK_ONLY> to this use case to make it available for
project code to use too.
2014-07-16 13:28:44 -04:00

24 lines
298 B
C++

#ifndef FOO_LIBRARY
#error Expected FOO_LIBRARY
#endif
#ifndef BAR_LIBRARY
#error Expected BAR_LIBRARY
#endif
#ifdef BANG_LIBRARY
#error Unexpected BANG_LIBRARY
#endif
#ifdef ZOT_LIBRARY
#error Unexpected ZOT_LIBRARY
#endif
#include "zot.h"
int main(void)
{
return foo() + bar() + zot();
}