Skip to content

Commit 8401f06

Browse files
committedOct 22, 2015
Help consuming projects find Eigen if they're building against a build tree.
1 parent d876d26 commit 8401f06

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
 

‎cmake-local/osvrConfigBuildTreePaths.cmake

+5
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ if(OpenCV_DIR_IMPORTED AND NOT OPENCV_FOUND)
1616
list(APPEND CMAKE_PREFIX_PATH "${OpenCV_DIR_IMPORTED}")
1717
endif()
1818

19+
# Likewise for our vendored header-only libraries - just Eigen for now.
20+
if(NOT EIGEN3_FOUND)
21+
list(APPEND CMAKE_PREFIX_PATH "@OSVR_VENDORED_EIGEN_ROOT@")
22+
endif()
23+
1924
# Help out with boost.
2025
if(NOT BOOST_FOUND)
2126
include("${CMAKE_CURRENT_LIST_DIR}/CMakeBoostHelper.cmake" OPTIONAL)

0 commit comments

Comments
 (0)
Please sign in to comment.