celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pnol...@apache.org
Subject celix git commit: CELIX-237: Update in FindFFI.cmake for lib name
Date Tue, 13 Oct 2015 20:49:07 GMT
Repository: celix
Updated Branches:
  refs/heads/develop 655974478 -> 13b82745e


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/develop
Commit: 13b82745e00377c478c93ecfb5c9c6d6172456e9
Parents: 6559744
Author: Pepijn Noltes <pepijnnoltes@gmail.com>
Authored: Tue Oct 13 22:48:16 2015 +0200
Committer: Pepijn Noltes <pepijnnoltes@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}
 )
 


Mime
View raw message