Changeset 50 in pacpusframework for trunk/cmake/PacpusInstall.cmake
- Timestamp:
- Jan 9, 2013, 9:06:15 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cmake/PacpusInstall.cmake
r29 r50 12 12 # ======================================== 13 13 install( 14 DIRECTORY15 ${PACPUS_CMAKE_DIR}16 DESTINATION17 ${PACPUS_INSTALL_DIR}14 DIRECTORY 15 ${PACPUS_CMAKE_DIR} 16 DESTINATION 17 ${PACPUS_INSTALL_DIR} 18 18 ) 19 19 … … 22 22 # ======================================== 23 23 install( 24 DIRECTORY25 ${PACPUS_INCLUDE_DIR}26 DESTINATION27 ${PACPUS_INSTALL_DIR}/include24 DIRECTORY 25 ${PACPUS_INCLUDE_DIR} 26 DESTINATION 27 ${PACPUS_INSTALL_DIR}/include 28 28 ) 29 29 … … 31 31 # Installation of the 3rd party 32 32 # ======================================== 33 if 34 install(33 if(PACPUS_INSTALL_3RD) 34 install( 35 35 DIRECTORY 36 ${PACPUS_3RD_PARTY_DIR}36 ${PACPUS_3RD_PARTY_DIR} 37 37 DESTINATION 38 ${PACPUS_INSTALL_DIR}39 )38 ${PACPUS_INSTALL_DIR} 39 ) 40 40 endif() 41 41 … … 43 43 # Installation of the documentation 44 44 # ======================================== 45 if 46 install(47 DIRECTORY48 ${CMAKE_BINARY_DIR}/doc/html49 DESTINATION50 ${PACPUS_INSTALL_DIR}/doc51 )45 if(PACPUS_BUILD_DOC) 46 install( 47 DIRECTORY 48 ${CMAKE_BINARY_DIR}/doc/html 49 DESTINATION 50 ${PACPUS_INSTALL_DIR}/doc 51 ) 52 52 endif()
Note:
See TracChangeset
for help on using the changeset viewer.