From c5bb562a46561af28380566448a8fbef4f31c7f5 Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Fri, 10 Feb 2017 21:48:56 +0100 Subject: [PATCH] Keep cmake include file installation dir on Windows in sync with Unix. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=99721 --- cmake/dbus/CMakeLists.txt | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/cmake/dbus/CMakeLists.txt b/cmake/dbus/CMakeLists.txt index 09fa1a7..bdc1ed1 100644 --- a/cmake/dbus/CMakeLists.txt +++ b/cmake/dbus/CMakeLists.txt @@ -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 include/dbus-1.0/dbus) - install(FILES ${dbusinclude_ARCH_HEADERS} DESTINATION lib/dbus-1.0/include/dbus) -else() - install(FILES ${dbusinclude_HEADERS} ${dbusinclude_ARCH_HEADERS} DESTINATION include/dbus) -endif() +install(FILES ${dbusinclude_HEADERS} DESTINATION include/dbus-1.0/dbus) +install(FILES ${dbusinclude_ARCH_HEADERS} DESTINATION lib/dbus-1.0/include/dbus) ### Internal library, used for the daemon, tools and tests, compiled statically. -- 2.6.6