Skip to content

Commit

Permalink
removed osr_catkin; added find osr as a cmake package
Browse files Browse the repository at this point in the history
  • Loading branch information
cassinaj committed Oct 7, 2015
1 parent 8f55701 commit e779855
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,16 @@ set(dbot_LIBRARY_GPU ${dbot_LIBRARY}_gpu)
set(dbot_LIBRARIES ${dbot_LIBRARY})

############################
# Dependencies ##
# Dependencies #
############################
if(NOT osr_FOUND)
find_package(osr REQUIRED)
endif(NOT osr_FOUND)

find_package(Eigen REQUIRED)
find_package(Boost REQUIRED)

include_directories(${osr_INCLUDE_DIRS})
include_directories(${Eigen_INCLUDE_DIRS})
include_directories(${Boost_INCLUDE_DIRS})

Expand Down Expand Up @@ -79,7 +84,7 @@ endif(BUILD_DBOT_ON_GPU)
############################
## catkin #
############################
find_package(catkin REQUIRED fl osr_catkin)
find_package(catkin REQUIRED fl)

catkin_package(
INCLUDE_DIRS
Expand All @@ -88,7 +93,6 @@ catkin_package(
${dbot_LIBRARIES}
CATKIN_DEPENDS
fl
osr_catkin
DEPENDS
Eigen
)
Expand Down

0 comments on commit e779855

Please sign in to comment.