- Timestamp:
- Jun 7, 2013, 11:05:08 AM (11 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/CMakeLists.txt
r4 r5 29 29 #set(PacpusSensors_DOC_DIR ${PacpusSensors_ROOT_DIR}/doc) 30 30 #set(PacpusSensors_INCLUDE_DIR ${PacpusSensors_ROOT_DIR}/include) 31 set(PACPUS_INCLUDE_DIR ${PACPUS_ROOT_DIR}/include) 31 32 32 33 # ======================================== … … 38 39 message (STATUS "setting CMAKE_MODULE_PATH to: " ${CMAKE_MODULE_PATH}) 39 40 elseif( NOT $ENV{PACPUS_ROOT} STREQUAL "") 41 set(PACPUS_ROOT $ENV{PACPUS_ROOT}) 40 42 set(CMAKE_MODULE_PATH $ENV{PACPUS_ROOT}/cmake) 41 43 string (REPLACE "\\" "/" CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH}) 42 44 message (STATUS "setting CMAKE_MODULE_PATH to: " ${CMAKE_MODULE_PATH}) 45 message (STATUS "PACPUS_ROOT is: " ${PACPUS_ROOT}) 43 46 else() 44 47 message (FATAL_ERROR "Environment variable PACPUS_ROOT not set, please define it in your operating system or pass it as argument to the cmake command") 45 48 endif() 46 49 47 include(${ PACPUS_ROOT}/cmake/PacpusUtilities.cmake)48 include(${ PACPUS_ROOT}/cmake/PacpusConfiguration.cmake)49 include(${ PACPUS_ROOT}/cmake/PacpusDependencies.cmake)50 include(${ PACPUS_ROOT}/cmake/PacpusPlatforms.cmake)50 include(${CMAKE_MODULE_PATH}/PacpusUtilities.cmake) 51 include(${CMAKE_MODULE_PATH}/PacpusConfiguration.cmake) 52 include(${CMAKE_MODULE_PATH}/PacpusDependencies.cmake) 53 include(${CMAKE_MODULE_PATH}/PacpusPlatforms.cmake) 51 54 52 55 # ======================================== … … 91 94 #add_subdirectory(Alasca) 92 95 add_subdirectory(CanGateway) 96 add_subdirectory(CanTest) 93 97 94 98 # ========================================
Note:
See TracChangeset
for help on using the changeset viewer.