-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
57 lines (52 loc) · 1014 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
execute_process(COMMAND lsb_release -sc OUTPUT_VARIABLE DISTRO OUTPUT_STRIP_TRAILING_WHITESPACE)
iF("${DISTRO}" STREQUAL "bionic")
set(PYTHON2DEV_PKG python-dev)
else()
set(PYTHON2DEV_PKG python2-dev)
endif()
option(WITH_CHOREONOID "Build choreonoid" ON)
# Extra APT dependencies
set(hrpsys_APT_DEPENDENCIES
autoconf
f2c
libtool-bin
libsdl-dev
libglew-dev
libopencv-dev
libqhull-dev
libyaml-dev
libncurses5-dev
libzbar-dev
freeglut3-dev
libxmu-dev
libglpk-dev
libpcl-dev
libproj-dev
libusb-1.0-0-dev
libusb-dev
libzip-dev
doxygen
libqt5x11extras5-dev
libxfixes-dev
libomniorb4-dev
python-omniorb
omniorb-nameserver
omniidl
omniidl-python
libqt5svg5-dev
python-yaml
python-tk
libfmt-dev
gettext
libcollada-dom-dev
${PYTHON2DEV_PKG}
python3-dev
libzip-dev
)
AptInstall(${hrpsys_APT_DEPENDENCIES})
include(openrtm-aist.cmake)
include(hrpsys-base.cmake)
if (WITH_CHOREONOID)
include(choreonoid.cmake)
include(mc-openrtm.cmake)
endif()