add_dependencies() works for IMPORTED libraries only with cmake 2.8.4 or newer. This workaround makes it work with Debian 6's cmake 2.8.2 again.
add_dependencies() works for IMPORTED libraries only with cmake 2.8.4 or newer. This workaround makes it work with Debian 6's cmake 2.8.2 again.