summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt38
1 files changed, 3 insertions, 35 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index aebddb2fe..97a10c72d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -128,39 +128,7 @@ install(
)
install(
- FILES
- polkit-tqt-export.h
-## ${CMAKE_CURRENT_BINARY_DIR}/polkittqt1-version.h
- DESTINATION
- ${INCLUDE_INSTALL_DIR} )
-
-##
-## if(${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION} VERSION_GREATER 2.6.2)
-## option(USE_COMMON_CMAKE_PACKAGE_CONFIG_DIR "Prefer to install the <package>Config.cmake files to lib/cmake/<package> instead of lib/<package>/cmake" TRUE)
-## endif(${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION} VERSION_GREATER 2.6.2)
-##
-## # The SONUMBER of the polkit-qt-1 libraries
-## set(POLKIT-TQT_ABI_VERSION 1)
-## # The version number of the polkit-qt-1 libraries
-## set(POLKIT-TQT_LIBRARY_VERSION "${POLKIT-TQT_ABI_VERSION}.${POLKIT-TQT_VERSION_MINOR}.${POLKIT-TQT_VERSION_PATCH}")
-##
-## configure_file(polkittqt1-version.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/polkittqt1-version.h)
-##
-## # CMake Config files
-## configure_file(PolkitTQt-1Config.cmake.in "${CMAKE_BINARY_DIR}/PolkitTQt-1Config.cmake" @ONLY)
-##
-## # this file is used by to check if the installed version can be used.
-## macro_write_basic_cmake_version_file(${CMAKE_BINARY_DIR}/PolkitTQt-1ConfigVersion.cmake
-## ${POLKIT-TQT_VERSION_MAJOR} ${POLKIT-TQT_VERSION_MINOR} ${POLKIT-TQT_VERSION_PATCH})
-##
-## if(USE_COMMON_CMAKE_PACKAGE_CONFIG_DIR)
-## set(_PolkitTQt-1Config_INSTALL_DIR ${LIB_INSTALL_DIR}/cmake/PolkitTQt-1)
-## else(USE_COMMON_CMAKE_PACKAGE_CONFIG_DIR)
-## set(_PolkitTQt-1Config_INSTALL_DIR ${LIB_INSTALL_DIR}/PolkitTQt-1/cmake)
-## endif(USE_COMMON_CMAKE_PACKAGE_CONFIG_DIR)
-##
-## install(FILES ${CMAKE_BINARY_DIR}/PolkitTQt-1ConfigVersion.cmake
-## ${CMAKE_BINARY_DIR}/PolkitTQt-1Config.cmake
-## DESTINATION ${_PolkitTQt-1Config_INSTALL_DIR} )
-##
+ FILES polkit-tqt-export.h
+ DESTINATION ${INCLUDE_INSTALL_DIR}
+)