[CMake] Using PUBLIC_HEADER property to install headers, but only 1st one is installed
Richard Shaw
hobbes1069 at gmail.com
Fri Sep 5 09:44:10 EDT 2014
Am I doing something wrong or is this a known bug?
I have a list of about 5 headers, CODEC2_PUBLIC_HEADERS.
I used set_target_properties(<library> PROPERTIES PUBLIC_HEADER
${CODEC2_PUBLIC_HEADERS})
then in the install target I added:
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/codec2
When I do a "make install" only the first file in the list is installed...
CMake version is 2.8.12.2
Thanks,
Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20140905/7d243204/attachment.html>
More information about the CMake
mailing list