Changeset 346 in pacpusframework for trunk/cmake/PacpusConfiguration.cmake


Ignore:
Timestamp:
Jun 24, 2015, 11:42:01 AM (9 years ago)
Author:
DHERBOMEZ Gérald
Message:

In pacpusframework/trunk (version 0.2.x):

  • add the numbering version for installation
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cmake/PacpusConfiguration.cmake

    r321 r346  
    1212# ========================================
    1313if(IS_BUILDING_PACPUS)
    14     set(PACPUS_INSTALL_DIR    ${CMAKE_INSTALL_PREFIX}   CACHE FILEPATH "Installation directory for the library")
     14        if(PACPUS_INSTALL_WITH_VERSION_NUMBER)
     15                pacpus_purge_backslash(PACPUS_INSTALL_DIR)
     16                set(PACPUS_INSTALL_DIR ${PACPUS_INSTALL_DIR}/${Pacpus_VERSION} )
     17        endif()
    1518    set(PACPUS_INSTALL_3RD    FALSE                     CACHE BOOL      "Installation of the 3rd party")
    1619endif()
Note: See TracChangeset for help on using the changeset viewer.