summaryrefslogtreecommitdiff
path: root/lib/modules/CMakeLists.txt
blob: 11e0944dd58a92afe35c2337330f7db96964cf37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
 
## install the cmake files

file( GLOB cmakeFiles FindQPackageKit.cmake )
set(module_install_dir ${CMAKE_ROOT}/Modules )

install( FILES ${cmakeFiles} 
         DESTINATION ${module_install_dir}  )


# with cmake 2.6 and above create and install a man page for the kdelibs cmake modules
# (cmake 2.4 doesn't support creating documentation for cmake modules in custom directories)
# if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" GREATER "2.5")
#    add_custom_target(KDECMakeModulesManPage ALL COMMAND ${CMAKE_COMMAND} -DCMAKE_MODULE_PATH=${CMAKE_CURRENT_SOURCE_DIR} --help-custom-modules ${CMAKE_CURRENT_BINARY_DIR}/kdecmake.1)
#    install(FILES ${CMAKE_CURRENT_BINARY_DIR}/kdecmake.1 DESTINATION "${MAN_INSTALL_DIR}/man1")
# endif("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" GREATER "2.5")