-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
45 lines (38 loc) · 824 Bytes
/
CMakeLists.txt
File metadata and controls
45 lines (38 loc) · 824 Bytes
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
cmake_minimum_required (VERSION 2.6)
project (chess_perception)
SET(CPACK_PACKAGE_VERSION_MAJOR "2")
SET(CPACK_PACKAGE_VERSION_MINOR "0")
SET(CPACK_PACKAGE_VERSION_PATCH "0")
SET(CPACK_PACKAGE_NAME "chess_perception")
SET(CPACK_SYSTEM_NAME "i386")
set (CMAKE_VERBOSE_MAKEFILE OFF)
set ( HEADERS
./
./gl
./log
./ach
/usr/include
/usr/local/include
)
set ( SRC
knn
main
chess
ach/craftyd
ach/chessd
ach/chessdout
sensors/mesa
log/aio_reader
log/aio_writer
log/logread
log/logwrite
gl/glcamera
gl/glstdlib
gl/view
)
find_package(GLUT)
find_package(OpenGL)
find_package ( OpenCV REQUIRED )
include_directories (${HEADERS} ${OpenCV_INCLUDE_DIRS} )
add_executable (chess_perception ${SRC})
target_link_libraries (chess_perception ach mesasr somatic amino ${GLUT_LIBRARY} ${OPENGL_LIBRARY} ${OPENCV_LIBRARY} opencv_highgui)