-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
making the package compilable in a catkin workspace
- Loading branch information
Stephan Wirth
committed
Apr 29, 2013
1 parent
3e4bb1b
commit 130a5e3
Showing
3 changed files
with
15 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,18 @@ | ||
cmake_minimum_required(VERSION 2.8) | ||
|
||
PROJECT(open_karto) | ||
|
||
# Export flags for dependent catkin packages | ||
option(USE_CATKIN "Use catkin if found to build the package" ON) | ||
if (USE_CATKIN) | ||
find_package(catkin) | ||
if(catkin_FOUND) | ||
message(STATUS "Using catkin.") | ||
catkin_package(INCLUDE_DIRS source/OpenKarto/ | ||
LIBRARIES OpenKarto) | ||
endif(catkin_FOUND) | ||
endif(USE_CATKIN) | ||
|
||
set(KARTO_LIB_TYPE SHARED) | ||
add_subdirectory(source) | ||
|
||
install(FILES package.xml DESTINATION share/open_karto) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters