Last active
July 1, 2017 02:54
-
-
Save Marcus-Zhu/654eaf4c91a06dc98a38cbf31b9fc2c3 to your computer and use it in GitHub Desktop.
cmakelists for naive_reconstruction
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 3.5) | |
PROJECT (reconstruction) | |
find_package(OpenCV REQUIRED core highgui imgproc xfeatures2d) | |
find_package(Ceres REQUIRED) | |
# include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/include ) | |
link_directories( ${CMAKE_BINARY_DIR}/bin) | |
include_directories(${CERES_INCLUDE_DIRS}) | |
add_definitions(-std=c++11) | |
set(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR}) | |
add_executable( reconstruction main.cpp tinydir.h ) | |
target_link_libraries( reconstruction ${OpenCV_LIBS} ${CERES_LIBRARIES}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment