source: pacpusframework/trunk/cmake/PacpusInstall.cmake@ 45

Last change on this file since 45 was 29, checked in by sgosseli, 12 years ago

Minor: includes were not correctly installed.

File size: 1.3 KB
RevLine 
[7]1#################################################
2# ___________ ____ ______ __ __ _____ #
3# \____ \__ \ _/ ___\\____ \| | \/ ___/ #
4# | |_> > __ \\ \___| |_> > | /\___ \ #
5# | __(____ /\___ > __/|____//____ > #
6# |__| \/ \/|__| \/ #
7# #
8#################################################
9
10# ========================================
11# CMake files
12# ========================================
13install(
14 DIRECTORY
[28]15 ${PACPUS_CMAKE_DIR}
[7]16 DESTINATION
17 ${PACPUS_INSTALL_DIR}
18)
19
20# ========================================
21# Include files
22# ========================================
23install(
24 DIRECTORY
25 ${PACPUS_INCLUDE_DIR}
26 DESTINATION
[29]27 ${PACPUS_INSTALL_DIR}/include
[7]28)
29
30# ========================================
31# Installation of the 3rd party
32# ========================================
33if (PACPUS_INSTALL_3RD)
34 install(
35 DIRECTORY
36 ${PACPUS_3RD_PARTY_DIR}
37 DESTINATION
38 ${PACPUS_INSTALL_DIR}
39 )
40endif()
[26]41
42# ========================================
43# Installation of the documentation
44# ========================================
45if (PACPUS_BUILD_DOC)
46 install(
47 DIRECTORY
48 ${CMAKE_BINARY_DIR}/doc/html
49 DESTINATION
50 ${PACPUS_INSTALL_DIR}/doc
51 )
52endif()
Note: See TracBrowser for help on using the repository browser.