Skip to content

Commit

Permalink
Merge pull request #112 from mwoehlke-kitware/fix-find-ccd-fallback
Browse files Browse the repository at this point in the history
Fix fallback finding of ccd
  • Loading branch information
sherm1 committed Apr 1, 2016
2 parents 12b069f + 97beed2 commit d65487f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,7 @@ endif()
if(NOT CCD_FOUND)
# if pkgconfig is not installed, then fall back on more fragile detection
# of ccd
find_path(CCD_INCLUDE_DIRS ccd.h
PATH_SUFFIXES ccd)
find_path(CCD_INCLUDE_DIRS ccd/ccd.h)
find_library(CCD_LIBRARY
${CMAKE_SHARED_LIBRARY_PREFIX}ccd${CMAKE_SHARED_LIBRARY_SUFFIX})
if(CCD_INCLUDE_DIRS AND CCD_LIBRARY)
Expand Down

0 comments on commit d65487f

Please # to comment.