rock-core/base-cmake — pull request #4 by doudou (2014-08-27 00:05:51+00:00)
Title: fix rock_library with only headers

I tried to define a header-only library using rock_library ...
Which fails miserably since rock_library was calling
add_library unconditionally. This commit makes sure that in the
case where only headers (no source files) are added, add_library
does not get installed. The pkg-config file is still installed,
though.