summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Akulich <akulichalexander@gmail.com>2019-11-08 21:46:07 +0300
committerAlexander Akulich <akulichalexander@gmail.com>2019-11-09 01:09:10 +0300
commit1379b9adafaa5561abfa1928c315f4e8bd1cc01c (patch)
tree5811d6002405bf04c30ae20a560a6c169678bbf6
parent92d1c0966d52887fe84718d5c769198956053f64 (diff)
CMake: Fix Service CMake files installation
-rw-r--r--TelepathyQt/CMakeLists.txt6
1 files changed, 1 insertions, 5 deletions
diff --git a/TelepathyQt/CMakeLists.txt b/TelepathyQt/CMakeLists.txt
index 4a0fe38c..18d07980 100644
--- a/TelepathyQt/CMakeLists.txt
+++ b/TelepathyQt/CMakeLists.txt
@@ -1014,11 +1014,7 @@ if(ENABLE_SERVICE_SUPPORT)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/TelepathyQt${QT_VERSION_MAJOR}Service.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig COMPONENT pkgconfig)
endif ()
- if(USE_COMMON_CMAKE_PACKAGE_CONFIG_DIR)
- set(_TelepathyQtServiceConfig_INSTALL_DIR ${LIB_INSTALL_DIR}/cmake/TelepathyQt${QT_VERSION_MAJOR}Service)
- else()
- set(_TelepathyQtServiceConfig_INSTALL_DIR ${LIB_INSTALL_DIR}/TelepathyQt${QT_VERSION_MAJOR}Service/cmake)
- endif()
+ set(_TelepathyQtServiceConfig_INSTALL_DIR ${LIB_INSTALL_DIR}/cmake/TelepathyQt${QT_VERSION_MAJOR}Service)
# Configure the actual Config file
configure_package_config_file(TelepathyQtServiceConfig.cmake.in