Changeset 91 in pacpusframework for trunk/cmake/FindPacpus.cmake
- Timestamp:
- May 19, 2013, 12:32:48 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cmake/FindPacpus.cmake
r80 r91 14 14 if(NOT ENV{PACPUS_ROOT} STREQUAL "") 15 15 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}'") 17 17 else() 18 18 if(PACPUS_FIND_REQUIRED) 19 MESSAGE(FATAL_ERROR "Could'not find PACPUS_ROOT ")19 MESSAGE(FATAL_ERROR "Could'not find PACPUS_ROOT ") 20 20 else() 21 MESSAGE(STATUS "Could'not find PACPUS_ROOT ")22 return()21 MESSAGE(STATUS "Could'not find PACPUS_ROOT ") 22 return() 23 23 endif() 24 24 endif() 25 else() 26 message(STATUS "Detected PACPUS_ROOT as argument with the path: '${PACPUS_ROOT}'") 25 27 endif() 26 28 … … 88 90 #set(CMAKE_INSTALL_PREFIX ${PACPUS_ROOT}) 89 91 set(PACPUS_INSTALL_DIR ${PACPUS_ROOT}) 90 set(PACPUS_LIB_DIR "${PACPUS_ROOT}/lib" 91 ) 92 set(PACPUS_LIB_DIR "${PACPUS_ROOT}/lib") 92 93 MESSAGE(STATUS "PACPUS_ROOT found ${PACPUS_ROOT}") 93 94
Note:
See TracChangeset
for help on using the changeset viewer.