-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
v01d
committed
Mar 11, 2014
1 parent
911bd95
commit 48d8d30
Showing
2 changed files
with
19 additions
and
0 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
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
find_path(WHYCON_INCLUDE_DIRS whycon/localization_system.h PATH_SUFFIXES whycon HINTS ${CMAKE_CURRENT_LIST_DIR}/../../../include) | ||
find_library(WHYCON_LIBRARIES NAMES whycon HINTS ${CMAKE_CURRENT_LIST_DIR}/../../../lib) | ||
|
||
include(FindPackageHandleStandardArgs) | ||
find_package_handle_standard_args(whycon DEFAULT_MSG WHYCON_LIBRARIES WHYCON_INCLUDE_DIRS) | ||
|
||
find_package(OpenCV REQUIRED) | ||
find_package(GSL REQUIRED) | ||
find_package(Boost COMPONENTS program_options thread system REQUIRED) | ||
|
||
set(WHYCON_LIBRARIES ${WHYCON_LIBRARIES} ${OpenCV_LIBRARIES} ${GSL_LIBRARIES} ${Boost_LIBRARIES}) | ||
set(WHYCON_INCLUDE_DIRS ${WHYCON_INCLUDE_DIRS} ${OpenCV_INCLUDE_DIRS} ${GSL_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS}) | ||
|
||
mark_as_advanced(WHYCON_LIBRARIES WHYCON_INCLUDE_DIRS) |