Skip to content

Commit 4477917

Browse files
committed
make corresponding cmake changes for FLANN and Spot as in ompl/ompl#1067
1 parent 8a74e0f commit 4477917

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

CMakeLists.txt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ find_package(Triangle QUIET)
116116
set_package_properties(flann PROPERTIES
117117
URL "https://github.com/mariusmuja/flann"
118118
PURPOSE "If detetected, FLANN can be used for nearest neighbor queries by OMPL.")
119-
find_package(flann 1.8.3 QUIET)
119+
find_package(flann CONFIG 1.9.2 QUIET)
120120
set_package_properties(spot PROPERTIES
121121
URL "http://spot.lrde.epita.fr"
122122
PURPOSE "Used for constructing finite automata from LTL formulae.")
@@ -198,14 +198,10 @@ endif()
198198

199199
if (flann_FOUND)
200200
set(OMPL_HAVE_FLANN 1)
201-
include_directories("${FLANN_INCLUDE_DIRS}")
202-
link_directories(${FLANN_LIBRARY_DIRS})
203201
endif()
204202

205203
if (spot_FOUND)
206204
set(OMPL_HAVE_SPOT 1)
207-
include_directories("${SPOT_INCLUDE_DIRS}")
208-
link_directories(${SPOT_LIBRARY_DIRS})
209205
endif()
210206

211207
# Numpy is used to convert Eigen matrices/vectors to numpy arrays

0 commit comments

Comments
 (0)