diff --git a/CMakeLists.txt b/CMakeLists.txt index f0006c0a..3c2a115d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,5 @@ cmake_minimum_required(VERSION 3.1) +include_directories("/usr/local/include") LIST(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/elibs/tbb") diff --git a/apps/texrecon/CMakeLists.txt b/apps/texrecon/CMakeLists.txt index 98f9e0f2..be43e9e1 100644 --- a/apps/texrecon/CMakeLists.txt +++ b/apps/texrecon/CMakeLists.txt @@ -6,5 +6,5 @@ set(BIN texrecon) add_executable(${BIN} ${SOURCES}) set_property(TARGET ${BIN} PROPERTY INTERPROCEDURAL_OPTIMIZATION True) add_dependencies(${BIN} ext_mve) -target_link_libraries(${BIN} tex ${TBB_LIBRARIES} -lmve -lmve_util) +target_link_libraries(${BIN} tex ${TBB_LIBRARIES} OpenMP::OpenMP_CXX -lmve -lmve_util) install(TARGETS ${BIN} RUNTIME DESTINATION bin) diff --git a/elibs/CMakeLists.txt b/elibs/CMakeLists.txt index ad61888a..aa9f2cee 100644 --- a/elibs/CMakeLists.txt +++ b/elibs/CMakeLists.txt @@ -1,7 +1,7 @@ externalproject_add(ext_mapmap PREFIX ext_mapmap GIT_REPOSITORY https://github.com/dthuerck/mapmap_cpu.git - GIT_TAG master + GIT_TAG v1.5 UPDATE_COMMAND "" SOURCE_DIR ${CMAKE_SOURCE_DIR}/elibs/mapmap CONFIGURE_COMMAND "" @@ -22,8 +22,7 @@ externalproject_add(ext_rayint externalproject_add(ext_eigen PREFIX ext_eigen - URL https://bitbucket.org/eigen/eigen/get/3.3.2.tar.gz - URL_MD5 36b5731ab7d7e0c10843ac93bd9fd270 + URL https://gitlab.com/libeigen/eigen/-/archive/3.3.2/eigen-3.3.2.tar.gz SOURCE_DIR ${CMAKE_SOURCE_DIR}/elibs/eigen CONFIGURE_COMMAND "" BUILD_COMMAND ""