-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
executable file
·29 lines (19 loc) · 835 Bytes
/
CMakeLists.txt
File metadata and controls
executable file
·29 lines (19 loc) · 835 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
cmake_minimum_required ( VERSION 2.8 )
project (MapCreator)
set (MapCreator_VERSION_MAJOR 0)
set (MapCreator_VERSION_MINOR 1)
set (MapCreator_VERSION_PATCH 0)
set (MapCreator_VERSION 0)
option(ENABLE_OPENCV_CONTRIB "Enable Opencv contrib module" OFF)
set ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11" )
set ( MapCreator_INSTALL_INCLUDE_DIR "${MapCreator_SOURCE_DIR}/include" )
# set ( MapCreator_LIB_DIR "${MapCreator_SOURCE_DIR}/lib" )
set ( MapCreator_INSTALL_BIN_DIR ${CMAKE_INSTALL_PREFIX}/lib )
set ( CMAKE_MACOSX_RPATH ${CMAKE_INSTALL_PREFIX}/lib )
include_directories ( ${MapCreator_INSTALL_INCLUDE_DIR} )
set ( CMAKE_INCLUDE_CURRENT_DIR ON )
# set ( CMAKE_PREFIX_PATH ${CMAKE_PREFIX_PATH} "/usr/local/Qt5" )
if (ENABLE_OPENCV_CONTRIB)
add_definitions(-DENABLE_OPENCV_CONTRIB)
endif()
add_subdirectory ( src )