mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-05 05:18:00 +02:00
cmake: Keep include file install locations on Windows in sync with Unix.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=99721 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
This commit is contained in:
parent
fa4e4db205
commit
4f115dd46c
1 changed files with 2 additions and 6 deletions
|
|
@ -306,12 +306,8 @@ if("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux")
|
|||
endif("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux")
|
||||
|
||||
install(TARGETS dbus-1 ${INSTALL_TARGETS_DEFAULT_ARGS})
|
||||
if(UNIX)
|
||||
install(FILES ${dbusinclude_HEADERS} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dbus-1.0/dbus)
|
||||
install(FILES ${dbusinclude_ARCH_HEADERS} DESTINATION ${CMAKE_INSTALL_LIBDIR}/dbus-1.0/include/dbus)
|
||||
else()
|
||||
install(FILES ${dbusinclude_HEADERS} ${dbusinclude_ARCH_HEADERS} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dbus)
|
||||
endif()
|
||||
install(FILES ${dbusinclude_HEADERS} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dbus-1.0/dbus)
|
||||
install(FILES ${dbusinclude_ARCH_HEADERS} DESTINATION ${CMAKE_INSTALL_LIBDIR}/dbus-1.0/include/dbus)
|
||||
|
||||
### Internal library, used for the daemon, tools and tests, compiled statically.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue