The source code and dockerfile for the GSW2024 AI Lab.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

17 lines
647 B

4 weeks ago
  1. ExternalProject_Add(
  2. Eigen3-EP
  3. GIT_REPOSITORY "https://github.com/eigenteam/eigen-git-mirror.git"
  4. GIT_TAG ${EIGEN3_VERSION}
  5. DOWNLOAD_NO_PROGRESS 1
  6. UPDATE_COMMAND "" # due to https://gitlab.kitware.com/cmake/cmake/issues/17229
  7. PATCH_COMMAND git cherry-pick eb592735746d935612caf658ab800e929c4ca6f4
  8. COMMAND git cherry-pick f65188960c52da20392d88296cbaeb341d635834
  9. CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=<INSTALL_DIR> -DPKGCONFIG_INSTALL_DIR=<INSTALL_DIR>/lib/pkgconfig
  10. LOG_INSTALL 1
  11. )
  12. ExternalProject_Get_Property(Eigen3-EP INSTALL_DIR)
  13. add_imported_library(EIGEN3 SHARED "" "${INSTALL_DIR}/include")
  14. add_dependencies(resources Eigen3-EP)