Changeset 91 in pacpusframework for trunk/cmake/FindPacpus.cmake


Ignore:
Timestamp:
May 19, 2013, 12:32:48 PM (11 years ago)
Author:
DHERBOMEZ Gérald
Message:

Improvement of the build system to avoid some workarounds

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cmake/FindPacpus.cmake

    r80 r91  
    1414    if(NOT ENV{PACPUS_ROOT} STREQUAL "")
    1515        set(PACPUS_ROOT $ENV{PACPUS_ROOT})
    16         message(STATUS "Detected PACPUS_ROOT, set to '${PACPUS_ROOT}'")
     16        message(STATUS "Detected PACPUS_ROOT in environment, set to '${PACPUS_ROOT}'")
    1717    else()
    1818      if(PACPUS_FIND_REQUIRED)
    19         MESSAGE(FATAL_ERROR "Could'not find PACPUS_ROOT ")
     19                MESSAGE(FATAL_ERROR "Could'not find PACPUS_ROOT ")
    2020      else()
    21         MESSAGE(STATUS "Could'not find PACPUS_ROOT ")
    22         return()
     21                MESSAGE(STATUS "Could'not find PACPUS_ROOT ")
     22                return()
    2323      endif()
    2424    endif()
     25else()
     26        message(STATUS "Detected PACPUS_ROOT as argument with the path: '${PACPUS_ROOT}'")
    2527endif()
    2628
     
    8890    #set(CMAKE_INSTALL_PREFIX ${PACPUS_ROOT})
    8991    set(PACPUS_INSTALL_DIR ${PACPUS_ROOT})
    90     set(PACPUS_LIB_DIR "${PACPUS_ROOT}/lib"
    91 )
     92    set(PACPUS_LIB_DIR "${PACPUS_ROOT}/lib")
    9293    MESSAGE(STATUS "PACPUS_ROOT found ${PACPUS_ROOT}")
    9394
Note: See TracChangeset for help on using the changeset viewer.