Skip to content

Commit

Permalink
Updated FindDIP.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorpm committed Aug 28, 2013
1 parent 8745347 commit 41408b7
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions cmake/modules/FindDIP.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,15 @@
# Find Depth-Image-Processing (DIP)
#
# DIP_FOUND - True if DIP was found.
# DIP_INCLUDE_DIRS - Directories containing the DIP include files.
# DIP_INCLUDE_DIR - Directory containing the DIP include files.
# DIP_LIBRARIES - Libraries need to use DIP.

find_path(DIP_INCLUDE_DIR dip
HINTS /usr/local/include/
PATHS "$ENV{PROGRAMFILES}/dip/include"
"$ENV{PROGRAMFILES}/dip/include"
"$ENV{PROGRAMW6432}/dip/include"
)

set(DIP_INCLUDE_DIRS
${DIP_INCLUDE_DIR}
)

set(DIP_MODULES
cameras
common
Expand All @@ -33,6 +29,8 @@ foreach(MODULE ${DIP_MODULES})
find_library(DIP_${MODULE}_LIBRARY
NAMES ${MODULE}
PATHS /usr/local/lib/
"$ENV{PROGRAMFILES}/dip/lib"
"$ENV{PROGRAMW6432}/dip/lib"
)

set(DIP_LIBRARIES
Expand Down

0 comments on commit 41408b7

Please sign in to comment.