diff --git a/CMakeLists.txt b/CMakeLists.txt index ab13bf31f..207cdb447 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)