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


Ignore:
Timestamp:
06/03/13 15:02:22 (11 years ago)
Author:
DHERBOMEZ Gérald
Message:

Modifications of the build system.
Improvement of the FindPacpus.cmake package.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cmake/FindPacpus.cmake

    r91 r101  
    1414    if(NOT ENV{PACPUS_ROOT} STREQUAL "")
    1515        set(PACPUS_ROOT $ENV{PACPUS_ROOT})
     16                string (REPLACE "\\" "/" PACPUS_ROOT ${PACPUS_ROOT})
    1617        message(STATUS "Detected PACPUS_ROOT in environment, set to '${PACPUS_ROOT}'")
    1718    else()
     
    2425    endif()
    2526else()
    26         message(STATUS "Detected PACPUS_ROOT as argument with the path: '${PACPUS_ROOT}'")
     27        string (REPLACE "\\" "/" PACPUS_ROOT ${PACPUS_ROOT})
     28        message(STATUS "Detected PACPUS_ROOT as argument with the path: '${PACPUS_ROOT}'")
    2729endif()
    2830
Note: See TracChangeset for help on using the changeset viewer.