summaryrefslogtreecommitdiffstats
path: root/cmake/Modules
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-05-29 14:32:12 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-05-29 14:32:12 +0200
commitb9c2581d70d76da143bfa55b12d5cc912b1b08df (patch)
tree368f7d450503693f4337d8c225a7490a5eb12d5f /cmake/Modules
parent9cbfb9f7a71ee73e63edc3d14d41cb5911c1100e (diff)
downloadedoors-b9c2581d70d76da143bfa55b12d5cc912b1b08df.zip
edoors-b9c2581d70d76da143bfa55b12d5cc912b1b08df.tar.gz
update FindEina.cmake from eobj
Diffstat (limited to 'cmake/Modules')
-rw-r--r--cmake/Modules/FindEina.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/Modules/FindEina.cmake b/cmake/Modules/FindEina.cmake
index acbd799..efc47e6 100644
--- a/cmake/Modules/FindEina.cmake
+++ b/cmake/Modules/FindEina.cmake
@@ -3,11 +3,13 @@
# EINA_FOUND - System has eina
# EINA_INCLUDE_DIRS - The eina include directories
# EINA_LIBRARIES - The libraries needed to use eina
+# EINA_LDFLAGS_OTHER - Other LDFLAGS needed te use eina.
# EINA_DEFINITIONS - Compiler switches required for using eina
find_package(PkgConfig)
pkg_check_modules(PC_LIBEINA QUIET eina)
set(EINA_DEFINITIONS ${PC_LIBEINA_CFLAGS_OTHER})
+set(EINA_LDFLAGS_OTHER ${PC_LIBEINA_LDFLAGS_OTHER})
find_path(EINA_INCLUDE_DIR Eina.h
HINTS ${PC_LIBEINA_INCLUDEDIR} ${PC_LIBEINA_INCLUDE_DIRS}