This website requires JavaScript.
Explore
Help
Sign In
kolan
/
CMake
Watch
1
Star
0
Fork
You've already forked CMake
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
830246e841
CMake
/
Tests
/
CMakeOnly
/
LinkInterfaceLoop
/
main.c
2 lines
29 B
C
Raw
Normal View
History
Unescape
Escape
Tolerate cycles in shared library link interfaces (#12647) Since commit 183b9509 (Follow all dependencies of shared library private dependencies, 2011-12-14) we honor LINK_INTERFACE_LIBRARIES when following dependent shared libraries. The link interface properties may form a cycle if set incorrectly by a project. Furthermore, the property LINK_DEPENDENT_LIBRARIES may form a cycle if set incorrectly by hand (though CMake should never generate one). In either case, do not follow the cycle forever when following the dependent shared library closure. We only need to add dependency edges to the constraint graph once. Add "LinkInterfaceLoop" test to cover this case.
2012-01-12 19:22:00 +04:00
int
main
(
void
)
{
return
0
;
}