source: flair-src/branches/sanscv/CMakeLists.txt@ 366

Last change on this file since 366 was 324, checked in by Sanahuja Guillaume, 5 years ago

removing opencv dependency

File size: 730 bytes
Line 
1PROJECT(Flair)
2cmake_minimum_required(VERSION 2.8)
3include($ENV{FLAIR_ROOT}/flair-src/cmake-modules/GlobalCmakeFlair.cmake)
4include(${CMAKE_ROOT}/Modules/ExternalProject.cmake)
5
6#we use external project to force lib install before compiling demos and tools
7ExternalProject_add(FlairLibs
8 SOURCE_DIR ${CMAKE_SOURCE_DIR}/lib
9 BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/FlairLibs
10 CMAKE_ARGS -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE} -DCMAKE_CODELITE_USE_TARGETS=ON
11 CMAKE_GENERATOR "CodeLite - Unix Makefiles"
12)
13
14if (DEFINED FOUND_HDS_DIR)
15 add_subdirectory($ENV{FLAIR_ROOT}/flair-hds/src flair-hds)
16endif()
17
18add_subdirectory(${CMAKE_SOURCE_DIR}/tools)
19add_subdirectory(${CMAKE_SOURCE_DIR}/demos)
Note: See TracBrowser for help on using the repository browser.