Fix CamelCase header installation.
Installing the Plasma directory (which contains the CamelCase forwarding headers) breaks on case-insensitive filesystems (eg: Windows) because it is that directory also contains the lowercase build-time-only forwarding headers (they are put in the plasma directory). These then overwrite the real lowercase headers with ones that forward to the source directory. However, the first argument to ecm_generate_headers is a variable name containing exactly the CamelCase headers that should be installed, avoiding this issue rather neatly. Reviewed-by: Patrick von Reth
This commit is contained in:
parent
0161b2fce3
commit
d4ea9ef66d
@ -175,9 +175,8 @@ install(FILES
|
||||
version.h
|
||||
DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF5}/plasma COMPONENT Devel)
|
||||
|
||||
install(DIRECTORY
|
||||
${CMAKE_CURRENT_BINARY_DIR}/Plasma
|
||||
DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF5} COMPONENT Devel)
|
||||
install(FILES ${Plasma_CamelCase_HEADERS}
|
||||
DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF5}/Plasma COMPONENT Devel)
|
||||
|
||||
|
||||
install(FILES
|
||||
|
Loading…
Reference in New Issue
Block a user