diff --git a/kite/cmake_modules/FindKITE.cmake b/kite/cmake_modules/FindKITE.cmake index 3093cbe7..d5a7a3fb 100644 --- a/kite/cmake_modules/FindKITE.cmake +++ b/kite/cmake_modules/FindKITE.cmake @@ -26,15 +26,7 @@ IF(UNIX) FIND_LIBRARY(KITE_LIBRARY_PATH NAMES kite PATHS ${CORIOLIS_DIR_SEARCH} - PATH_SUFFIXES lib - # Help the user find it if we cannot. - DOC "The ${KITE_INCLUDE_PATH_DESCRIPTION}" - ) - - FIND_LIBRARY(KITE_STATIC_LIBRARY_PATH - NAMES kite-static - PATHS ${CORIOLIS_DIR_SEARCH} - PATH_SUFFIXES lib + PATH_SUFFIXES lib${LIB_SUFFIX} # Help the user find it if we cannot. DOC "The ${KITE_INCLUDE_PATH_DESCRIPTION}" )