It sounds like you're trying to use target_link_libraries to pass link flags that are not libraries. There is a separate target property for this:
http://www.cmake.org/cmake/help/v2.8.11/cmake.html#prop_tgt:LINK_FLAGS -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1203786 Title: Invalid handling of linker flags during build To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cmake/+bug/1203786/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
