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


Ignore:
Timestamp:
Dec 2, 2013, 2:48:18 PM (11 years ago)
Author:
Marek Kurdej
Message:

Fixed: install PacpusConfig.cmake.in.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cmake/PacpusInstall.cmake

    r247 r248  
    1010################################################################################
    1111# CMake
    12 configure_file("${PACPUS_CMAKE_DIR}/in/${PROJECT_NAME}Config.cmake.in" "${PACPUS_CMAKE_DIR}/${PROJECT_NAME}Config.cmake" @ONLY)
    13 
    1412install(
    15     DIRECTORY
    16         ${PACPUS_CMAKE_DIR}
    17     DESTINATION
    18         ${PACPUS_INSTALL_DIR}
     13    DIRECTORY ${PACPUS_CMAKE_DIR}
     14    DESTINATION ${PACPUS_INSTALL_DIR}
     15        PATTERN "in" EXCLUDE
    1916)
     17configure_file("${PACPUS_CMAKE_DIR}/in/${PROJECT_NAME}Config.cmake.in" "${PACPUS_INSTALL_DIR}/${PROJECT_NAME}Config.cmake" @ONLY)
    2018
    2119################################################################################
Note: See TracChangeset for help on using the changeset viewer.