Skip to content
Snippets Groups Projects
Commit 36941118 authored by Sebastian Hahta's avatar Sebastian Hahta
Browse files

use lib/libsgm

parent 2c572c75
No related branches found
No related tags found
1 merge request!293Move libsgm code to lib/libsgm
......@@ -116,10 +116,10 @@ endif()
# ==============================================================================
if (WITH_FIXSTARS)
find_package(LibSGM REQUIRED)
if (LibSGM_FOUND)
set(HAVE_LIBSGM true)
endif()
add_subdirectory(lib/libsgm)
include_directories(lib/libsgm/include)
set_property(TARGET sgm PROPERTY FOLDER "dependencies")
endif()
if (WITH_CERES)
......
......@@ -26,8 +26,8 @@ if(BUILD_OPENCV_WRAPPER)
include_directories(${OpenCV_INCLUDE_DIRS})
endif()
configure_file(${CMAKE_SOURCE_DIR}/include/libsgm_config.h.in
${CMAKE_SOURCE_DIR}/include/libsgm_config.h
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/include/libsgm_config.h.in
${CMAKE_CURRENT_SOURCE_DIR}/include/libsgm_config.h
)
add_subdirectory(src)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment