diff --git a/panda/src/linmath/CMakeLists.txt b/panda/src/linmath/CMakeLists.txt index 439cf1656d..751c45039b 100644 --- a/panda/src/linmath/CMakeLists.txt +++ b/panda/src/linmath/CMakeLists.txt @@ -42,7 +42,7 @@ set(P3LINMATH_SOURCES lvector2.cxx lvector3.cxx lvector4.cxx mathNumbers.cxx ) -if(EIGEN_FOUND) +if(HAVE_EIGEN) include_directories(${EIGEN3_INCLUDE_DIR}) endif()