diff --git a/unicorn/cmake_modules/FindUNICORN.cmake b/unicorn/cmake_modules/FindUNICORN.cmake index 6b2ef206..d424db0d 100644 --- a/unicorn/cmake_modules/FindUNICORN.cmake +++ b/unicorn/cmake_modules/FindUNICORN.cmake @@ -26,7 +26,7 @@ IF(UNIX) FIND_LIBRARY(UNICORN_LIBRARY_PATH NAMES unicorn PATHS ${CORIOLIS_DIR_SEARCH} - PATH_SUFFIXES lib + PATH_SUFFIXES lib${LIB_SUFFIX} # Help the user find it if we cannot. DOC "The ${UNICORN_INCLUDE_PATH_DESCRIPTION}" )