-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
53 lines (52 loc) · 1.76 KB
/
CMakeLists.txt
File metadata and controls
53 lines (52 loc) · 1.76 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
42
43
44
45
46
47
48
49
50
51
52
53
# /****************************************************************************
#
# - Codename: Image Completion with Intrinsic Reflectance Guidance (BMVC 2017)
#
# - Bibtex:
# @InProceedings{Inpainting:BMVC:2017,
# author = {Soomin Kim and Taeyoung Kim and Min H. Kim and Sung-Eui Yoon},
# title = {Image Completion with Intrinsic Reflectance Guidance},
# booktitle = {Proc. British Machine Vision Conference (BMVC 2017)},
# address = {London, England},
# year = {2017},
# pages = {},
# volume = {},
# }
#
#
# - License: GNU General Public License Usage
# Alternatively, this file may be used under the terms of the GNU General
# Public License version 3.0 as published by the Free Software Foundation
# and appearing in the file LICENSE.GPL included in the packaging of this
# file. Please review the following information to ensure the GNU General
# Public License version 3.0 requirements will be met:
# http://www.gnu.org/copyleft/gpl.html.
#
#
# *****************************************************************************/
#cmake entry point
cmake_minimum_required(VERSION 2.8)
project(ReflectanceInpainting)
#==================================================
# src
add_executable(ReflectanceInpainting
RefInpainting.cpp
RefInpainting.h
RefrgbInpainting.cpp
)
#==================================================
#find packages
find_package(OpenCV)
if (OpenCV_FOUND)
include_directories( ${OpenCV_INCLUDE_DIRS} )
target_link_libraries (ReflectanceInpainting ${OpenCV_LIBS})
endif (OpenCV_FOUND)
#==================================================
add_definitions(
-DTW_STATIC
-DTW_NO_LIB_PRAGMA
-DTW_NO_DIRECT3D
-DGLEW_STATIC
-D_CRT_SECURE_NO_WARNING
)
#==================================================