Commit 9ea01877 authored by Patrik Huber's avatar Patrik Huber

Removed some old CMake comments. Changed minimum CMake version of examples to 2.8.10.

parent fdf5c2bc
......@@ -95,6 +95,7 @@ include_directories("include")
include_directories(${CEREAL_INCLUDE_DIR})
include_directories(${Boost_INCLUDE_DIRS})
include_directories(${OpenCV_INCLUDE_DIRS})
#include_directories(${EIGEN3_INCLUDE_DIR})
# Custom target for the library, to make the headers show up in IDEs:
add_custom_target(eos SOURCES ${HEADERS})
......
project(examples)
cmake_minimum_required(VERSION 2.8.7)
cmake_minimum_required(VERSION 2.8.10)
# The examples need a few additional dependencies (e.g. boost filesystem and OpenCV highgui):
find_package(OpenCV 2.4.3 REQUIRED core imgproc highgui)
......@@ -13,12 +13,9 @@ else(Boost_FOUND)
message(FATAL_ERROR "Boost not found")
endif()
#include_directories(${eos_SOURCE_DIR})
# Model fitting (affine cam & shape to landmarks) example:
add_executable(fit-model fit-model.cpp)
target_link_libraries(fit-model ${OpenCV_LIBS} ${Boost_LIBRARIES})
# TODO Add dependency to library-target??
# Converts a CVSSP .scm Morphable Model to a cereal binary file:
add_executable(scm-to-cereal scm-to-cereal.cpp)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment