blob: e70b07788ec358972d2ca60a82b6711fcc064d83 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
cmake_minimum_required(VERSION 2.8)
project(chill)
set(CHILL_VERSION 0.2.1) # 2.8 doesn't support project version clause
if(NOT DEFINED ROSEHOME)
message( FATAL_ERROR "ROSEHOME is not set, try use -DROSEHOME" )
endif()
if (NOT DEFINED BOOSTHOME)
message( FATAL_ERROR "BOOSTHOME is not set, try use -DBOOSTHOME" )
endif()
add_subdirectory(chill)
add_subdirectory(doxygen)
if (NOT DEFINED OMEGAHOME)
message( WARNING "OMEGAHOME is not set, use bundled omegalib")
add_subdirectory(omegalib)
else()
message( WARNING "OMEGAHOME set to ${OMEGAHOME}, use prebuilt omegalib")
endif()
|