[CMake] Using PUBLIC_HEADER property to install headers, but only 1st one is installed
Nils Gladitz
nilsgladitz at gmail.com
Fri Sep 5 09:52:42 EDT 2014
On 09/05/2014 03:44 PM, Richard Shaw wrote:
> 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})
The remaining items in ${CODEC2_PUBLIC_HEADERS} are interpreted as pairs
of property name and value.
You can prevent this by quoting "${CODEC2_PUBLIC_HEADERS}" or by using
set_property() instead.
Nils
More information about the CMake
mailing list