-
Notifications
You must be signed in to change notification settings - Fork 14
/
CMakeLists.txt
33 lines (24 loc) · 1.25 KB
/
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
# Project name is not mandatory, but you should use it
project(affineTracker_gpu)
# States that CMake required version must be >= 2.6
cmake_minimum_required(VERSION 2.6)
# Appends the cmake/modules path inside the MAKE_MODULE_PATH variable which stores the
# directories of additional CMake modules (eg MacroOutOfSourceBuild.cmake):
############################### OPENCV ################################
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR})
find_package( OpenCV )
INCLUDE_DIRECTORIES(${OpenCV_INCLUDE_DIRS})
LINK_DIRECTORIES(${OpenCV_LIBRARY_DIRS})
#message(STATUS "OpenCV_INCLUDE_DIRS =" ${OpenCV_INCLUDE_DIRS})
#message(STATUS "OpenCV_LIBRARY_DIRS =" ${OpenCV_LIBRARY_DIRS})
################################ IPP ################################
#set(IPP_FOUND)
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR})
find_package( IPP )
# set(IPP_LIBS ${A}ippcore${B} ${A}ipps${B} ${A}ippi${B})
# ${A}svml${B} ${A}imf${B} ${A}iomp5${B} ${A}irc${B} ${A}pthread${B})
message(STATUS "IPP_INCLUDE_PATHS = " ${IPP_INCLUDE_PATHS})
message(STATUS "IPPPATH = " ${IPP_PATH})
message(STATUS "IPP_LIBS =" ${IPP_LIBS})
############################### Setup a subdirectory ################################
add_subdirectory(src)