Skip to content

Commit

Permalink
debug CI 7
Browse files Browse the repository at this point in the history
  • Loading branch information
shutsch committed Feb 23, 2024
1 parent 2c80f26 commit c30c3cb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ if (USE_AUTODIFF)
message("-- Could not find Eigen3 library globally! Trying to include it as a submodule.")
set(EIGEN_PATH ${PROJECT_SOURCE_DIR}/extern/Eigen)
if(NOT EXISTS ${EIGEN_PATH})
message("The Eigen3 submodule was not found! Please run 'git submodule update --init'. Alternatively you can try to set the EIGEN_PATH to the eigen header files manually. Will proceed without autodiiferentiation." )
message("The Eigen3 submodule was not found! Please run 'git submodule update --init' OR set the EIGEN_PATH variable to the eigen header files manually. Will proceed with autodifferentiation disabled." )
set(USE_AUTODIFF OFF)
else()
message("-- Eigen3 library found as a submodule. Tests will be compiled.")
Expand All @@ -61,6 +61,8 @@ if (USE_AUTODIFF)
message("-- Eigen3 library at ${EIGEN_PATH} found.")
endif()

list(APPEND CMAKE_PREFIX_PATH ${EIGEN_PATH})

if (Eigen3_FOUND)

set(autodiff_INCLUDE_DIRS ${EIGEN_PATH})
Expand Down

0 comments on commit c30c3cb

Please sign in to comment.