Skip to content

Commit

Permalink
CMake: block on eigen 3.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nim65s committed Jul 24, 2023
1 parent ea75f81 commit b2673f5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,10 @@ CMAKE_DEPENDENT_OPTION(GENERATE_PYTHON_STUBS "Generate the Python stubs associat

ADD_PROJECT_DEPENDENCY(Eigen3 REQUIRED PKG_CONFIG_REQUIRES "eigen3 >= 3.0.0")

if(Eigen3_VERSION VERSION_EQUAL 3.4.1)
message(FATAL_ERROR "${PROJECT_NAME} is not compatible with eigen 3.4.1")
endif()

if(BUILD_PYTHON_INTERFACE)
FIND_PACKAGE(eigenpy 2.7.10 REQUIRED)
endif()
Expand Down

0 comments on commit b2673f5

Please sign in to comment.