summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2021-12-09 23:27:00 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2021-12-09 23:27:00 +0900
commit416bed9bc124e24cc1351c7d8e5810ca7570a023 (patch)
treefbb25a82365c24f80874fe0d7190533b27a4df3b /CMakeLists.txt
parent855818127b02c367fb187e67b9bb9b229b916304 (diff)
downloadpolkit-tqt-416bed9bc124e24cc1351c7d8e5810ca7570a023.tar.gz
polkit-tqt-416bed9bc124e24cc1351c7d8e5810ca7570a023.zip
Updated documentation and clean up.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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}
+)