CELIX-237: Update in FindFFI.cmake for lib name
Project: http://git-wip-us.apache.org/repos/asf/celix/repo Commit: http://git-wip-us.apache.org/repos/asf/celix/commit/13b82745 Tree: http://git-wip-us.apache.org/repos/asf/celix/tree/13b82745 Diff: http://git-wip-us.apache.org/repos/asf/celix/diff/13b82745 Branch: refs/heads/feature/CELIX-230_Refactoring_of_the_shell_command_service Commit: 13b82745e00377c478c93ecfb5c9c6d6172456e9 Parents: 6559744 Author: Pepijn Noltes <pepijnnol...@gmail.com> Authored: Tue Oct 13 22:48:16 2015 +0200 Committer: Pepijn Noltes <pepijnnol...@gmail.com> Committed: Tue Oct 13 22:48:16 2015 +0200 ---------------------------------------------------------------------- cmake/FindFFI.cmake | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/celix/blob/13b82745/cmake/FindFFI.cmake ---------------------------------------------------------------------- diff --git a/cmake/FindFFI.cmake b/cmake/FindFFI.cmake index 15680b7..0493633 100644 --- a/cmake/FindFFI.cmake +++ b/cmake/FindFFI.cmake @@ -32,9 +32,8 @@ endif () mark_as_advanced(GNUTLS_INCLUDE_DIR GNUTLS_LIBRARY) -find_library(FFI_LIBRARY NAMES ffi +find_library(FFI_LIBRARY NAMES ffi libffi PATHS $ENV{FFI_DIR} ${FFI_DIR} /usr/local /opt/local - PATH_SUFFIXES lib HINTS ${PC_LIBFFI_LIBDIR} ${PC_LIBFFI_LIBRARY_DIRS} )