CMake/Tests/CompatibleInterface/iface2.cpp
Stephen Kelly 6fbe3ce4ef Exclude the LINK_LIBRARIES related properties from INTERFACE evaluation.
These interface-related link-libraries properties are used to determine
the value of the other INTERFACE properties, so we were getting infinite
recursion and segfaults otherwise.
2013-01-24 08:17:46 -05:00

8 lines
56 B
C++

#include "iface2.h"
int Iface2::foo()
{
return 0;
}