Changeset 50 in pacpusframework for trunk/cmake/PacpusInstall.cmake


Ignore:
Timestamp:
Jan 9, 2013, 9:06:15 AM (12 years ago)
Author:
Marek Kurdej
Message:

CMake: updated to conform to the coding style.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cmake/PacpusInstall.cmake

    r29 r50  
    1212# ========================================
    1313install(
    14   DIRECTORY
    15     ${PACPUS_CMAKE_DIR}
    16   DESTINATION
    17     ${PACPUS_INSTALL_DIR}
     14    DIRECTORY
     15        ${PACPUS_CMAKE_DIR}
     16    DESTINATION
     17        ${PACPUS_INSTALL_DIR}
    1818)
    1919
     
    2222# ========================================
    2323install(
    24   DIRECTORY
    25     ${PACPUS_INCLUDE_DIR}
    26   DESTINATION
    27     ${PACPUS_INSTALL_DIR}/include
     24    DIRECTORY
     25        ${PACPUS_INCLUDE_DIR}
     26    DESTINATION
     27        ${PACPUS_INSTALL_DIR}/include
    2828)
    2929
     
    3131# Installation of the 3rd party
    3232# ========================================
    33 if (PACPUS_INSTALL_3RD)
    34   install(
     33if(PACPUS_INSTALL_3RD)
     34    install(
    3535    DIRECTORY
    36       ${PACPUS_3RD_PARTY_DIR}
     36        ${PACPUS_3RD_PARTY_DIR}
    3737    DESTINATION
    38       ${PACPUS_INSTALL_DIR}
    39   )
     38        ${PACPUS_INSTALL_DIR}
     39    )
    4040endif()
    4141
     
    4343# Installation of the documentation
    4444# ========================================
    45 if (PACPUS_BUILD_DOC)
    46   install(
    47     DIRECTORY
    48       ${CMAKE_BINARY_DIR}/doc/html
    49     DESTINATION
    50       ${PACPUS_INSTALL_DIR}/doc
    51   )
     45if(PACPUS_BUILD_DOC)
     46    install(
     47        DIRECTORY
     48            ${CMAKE_BINARY_DIR}/doc/html
     49        DESTINATION
     50            ${PACPUS_INSTALL_DIR}/doc
     51    )
    5252endif()
Note: See TracChangeset for help on using the changeset viewer.