-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathCMakeConfig.cmake
More file actions
41 lines (37 loc) · 1.06 KB
/
CMakeConfig.cmake
File metadata and controls
41 lines (37 loc) · 1.06 KB
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
set(EXEC_NAME clvHd-interface)
set(PROJECT_VERSION 5.14)
###### Special libraries ######
set(EXTRA_LIBS "")
set(TOOL_LIBS "")
if(0)
set(EXTRA_LIBS "pthread" "util")
endif()
###### Boost libraries ######
if(0)
find_package(Boost 1.56 REQUIRED COMPONENTS system filesystem iostreams)
if (Boost_FOUND)
list(APPEND EXTRA_LIBS ${Boost_IOSTREAMS_LIBRARY} ${Boost_SYSTEM_LIBRARY} ${Boost_FILESYSTEM_LIBRARY})
else ()
message("Couldn't find Boost library")
endif (Boost_FOUND)
endif()
###### SFML libraries ######
if(0)
find_package(SFML REQUIRED COMPONENTS graphics window system)
if (SFML_FOUND)
list(APPEND EXTRA_LIBS "sfml-graphics" "sfml-window" "sfml-system")
else ()
message("Couldn't find SFML library")
endif (SFML_FOUND)
endif()
###### OpenCV libraries ######
if(0)
find_package(OpenCV REQUIRED)
if (OpenCV_FOUND)
list(APPEND EXTRA_LIBS ${OpenCV_LIBS})
list(APPEND EXTRA_INCLUDES ${OpenCV_INCLUDE_DIRS})
message("-- Opencv library Found")
else ()
message("Couldn't find Opencv library")
endif (OpenCV_FOUND)
endif()