diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-07-31 17:52:31 +0200 |
---|---|---|
committer | DaMichel <mw.pub@welter-4d.de> | 2016-08-02 13:22:51 +0200 |
commit | f786a5c3e89f52a457744c966cc28f5fe99ad9b4 (patch) | |
tree | 6ee517475cc183b5e3cf690326751a097e1f6a66 /filter-kalman | |
parent | 9c37cf39a9c186c2fd98db798c0a5f96ac975c5d (diff) |
filter/kalman: find eigen in non-standard locations
Diffstat (limited to 'filter-kalman')
-rw-r--r-- | filter-kalman/CMakeLists.txt | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/filter-kalman/CMakeLists.txt b/filter-kalman/CMakeLists.txt index 12de11ec..1d1c6412 100644 --- a/filter-kalman/CMakeLists.txt +++ b/filter-kalman/CMakeLists.txt @@ -1,3 +1,5 @@ -opentrack_boilerplate(opentrack-filter-kalman) -target_link_libraries(opentrack-filter-kalman opentrack-spline-widget) -target_include_directories(opentrack-filter-kalman SYSTEM PUBLIC)
\ No newline at end of file +find_package(Eigen3 QUIET) +if(EIGEN3_FOUND) + opentrack_boilerplate(opentrack-filter-kalman) + target_include_directories(opentrack-filter-kalman SYSTEM PUBLIC ${EIGEN3_INCLUDE_DIR}) +endif() |