[CMake] OS X framework headers with capital letters
Steven Wilson
steven.wesley.wilson at gmail.com
Tue Jul 21 08:19:42 EDT 2015
I've noticed that CMake 3.3.0-rc3 will not install a header file in a Mac
OS X framework if the header file starts with a capital letter (either that
or has the same name as the framework).
For example if I have the following:
set(FOO_HEADER_FILES "foo.h;bar.h;bat.h;Foo.h;Foo.hpp")
add_library(Foo SHARED ${FOO_SOURCE_FILES})
set_target_properties(Foo PROPERTIES
FRAMEWORK ON
OUTPUT_NAME Foo
PUBLIC_HEADER "${FOO_HEADER_FILES}"
)
install(TARGETS Foo
FRAMEWORK DESTINATION "frameworks")
Then when running 'make install' or the install target from Xcode, the
installation step silently does not install Foo.h or Foo.hpp.
This behavior seems arbitrary, wrong, and completely annoying.
Comments?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20150721/e7652bf4/attachment.html>
More information about the CMake
mailing list