cmake option to build metis executables
parent
68297dedb5
commit
3070e63ccc
|
|
@ -15,16 +15,17 @@ if(NOT GTSAM_USE_SYSTEM_EIGEN)
|
||||||
install(FILES Eigen/Eigen/${filename} DESTINATION include/gtsam/3rdparty/Eigen/Eigen)
|
install(FILES Eigen/Eigen/${filename} DESTINATION include/gtsam/3rdparty/Eigen/Eigen)
|
||||||
endif()
|
endif()
|
||||||
endforeach(eigen_dir)
|
endforeach(eigen_dir)
|
||||||
|
|
||||||
# Add to project source
|
# Add to project source
|
||||||
set(eigen_headers ${eigen_headers} PARENT_SCOPE)
|
set(eigen_headers ${eigen_headers} PARENT_SCOPE)
|
||||||
|
|
||||||
# install Eigen - only the headers in our 3rdparty directory
|
# install Eigen - only the headers in our 3rdparty directory
|
||||||
install(DIRECTORY Eigen/Eigen
|
install(DIRECTORY Eigen/Eigen
|
||||||
DESTINATION include/gtsam/3rdparty/Eigen
|
DESTINATION include/gtsam/3rdparty/Eigen
|
||||||
FILES_MATCHING PATTERN "*.h")
|
FILES_MATCHING PATTERN "*.h")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
option(GTSAM_BUILD_METIS_EXECUTABLES "Build metis library executables" OFF)
|
||||||
add_subdirectory(metis-5.1.0)
|
add_subdirectory(metis-5.1.0)
|
||||||
############ NOTE: When updating GeographicLib be sure to disable building their examples
|
############ NOTE: When updating GeographicLib be sure to disable building their examples
|
||||||
############ and unit tests by commenting out their lines:
|
############ and unit tests by commenting out their lines:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue