Changeset 80 in pacpusframework
- Timestamp:
- Feb 20, 2013, 12:10:18 PM (12 years ago)
- Location:
- trunk/cmake
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cmake/FindPacpus.cmake
r64 r80 15 15 set(PACPUS_ROOT $ENV{PACPUS_ROOT}) 16 16 message(STATUS "Detected PACPUS_ROOT, set to '${PACPUS_ROOT}'") 17 else() 18 if(PACPUS_FIND_REQUIRED) 19 MESSAGE(FATAL_ERROR "Could'not find PACPUS_ROOT ") 20 else() 21 MESSAGE(STATUS "Could'not find PACPUS_ROOT ") 22 return() 23 endif() 17 24 endif() 18 25 endif() 19 26 20 # Configure Pacpus 21 include(${PACPUS_ROOT}/cmake/PacpusUtilities.cmake) 22 include(${PACPUS_ROOT}/cmake/PacpusConfiguration.cmake) 23 include(${PACPUS_ROOT}/cmake/PacpusDependencies.cmake) 24 include(${PACPUS_ROOT}/cmake/PacpusPlatforms.cmake) 27 25 28 26 29 # Hint directories … … 75 78 if(NOT MODULE_MISSING AND PACPUS_INCLUDE_DIR) 76 79 set(PACPUS_FOUND TRUE) 80 81 # Configure Pacpus 82 list(APPEND CMAKE_MODULE_PATH "${PACPUS_ROOT}/cmake") 83 include(${PACPUS_ROOT}/cmake/PacpusUtilities.cmake) 84 include(${PACPUS_ROOT}/cmake/PacpusConfiguration.cmake) 85 include(${PACPUS_ROOT}/cmake/PacpusDependencies.cmake) 86 include(${PACPUS_ROOT}/cmake/PacpusPlatforms.cmake) 87 88 #set(CMAKE_INSTALL_PREFIX ${PACPUS_ROOT}) 89 set(PACPUS_INSTALL_DIR ${PACPUS_ROOT}) 90 set(PACPUS_LIB_DIR "${PACPUS_ROOT}/lib" 91 ) 92 MESSAGE(STATUS "PACPUS_ROOT found ${PACPUS_ROOT}") 93 77 94 else() 78 95 set(PACPUS_FOUND FALSE) 96 97 if(PACPUS_FIND_REQUIRED) 98 MESSAGE(FATAL_ERROR "Could'not find PACPUS_ROOT ") 99 else() 100 MESSAGE(STATUS "Could'not find PACPUS_ROOT ") 101 endif() 102 79 103 endif() -
trunk/cmake/PacpusPlatforms.cmake
r64 r80 11 11 # GCC-Based compilers 12 12 # ======================================== 13 if("${CMAKE_C XX_COMPILER}" MATCHES "gcc|icc|clang")13 if("${CMAKE_C_COMPILER}" MATCHES "gcc|icc|clang") 14 14 pacpus_info("The libraries will be compiled with -fPIC") 15 15 list(APPEND PACPUS_DEFINITIONS " -fPIC ")
Note:
See TracChangeset
for help on using the changeset viewer.