summaryrefslogtreecommitdiff
path: root/legacy/eobj/cmake
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2012-04-23 08:09:49 +0000
committerTom Hacohen <tom@stosb.com>2012-04-23 08:09:49 +0000
commit1390200ede4eb757a1bf01bd299b20c2192ec6d7 (patch)
tree5528aef0510ca81d888a33e80e5e798aad944bb4 /legacy/eobj/cmake
parenta5742a341c6d35cac8ad01665c051d5261ce219c (diff)
Eobj: Fixed issue with FindEina.cmake and things using it.
SVN revision: 70406
Diffstat (limited to 'legacy/eobj/cmake')
-rw-r--r--legacy/eobj/cmake/Modules/FindEina.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/legacy/eobj/cmake/Modules/FindEina.cmake b/legacy/eobj/cmake/Modules/FindEina.cmake
index acbd799f3e..efc47e6607 100644
--- a/legacy/eobj/cmake/Modules/FindEina.cmake
+++ b/legacy/eobj/cmake/Modules/FindEina.cmake
@@ -3,11 +3,13 @@
3# EINA_FOUND - System has eina 3# EINA_FOUND - System has eina
4# EINA_INCLUDE_DIRS - The eina include directories 4# EINA_INCLUDE_DIRS - The eina include directories
5# EINA_LIBRARIES - The libraries needed to use eina 5# EINA_LIBRARIES - The libraries needed to use eina
6# EINA_LDFLAGS_OTHER - Other LDFLAGS needed te use eina.
6# EINA_DEFINITIONS - Compiler switches required for using eina 7# EINA_DEFINITIONS - Compiler switches required for using eina
7 8
8find_package(PkgConfig) 9find_package(PkgConfig)
9pkg_check_modules(PC_LIBEINA QUIET eina) 10pkg_check_modules(PC_LIBEINA QUIET eina)
10set(EINA_DEFINITIONS ${PC_LIBEINA_CFLAGS_OTHER}) 11set(EINA_DEFINITIONS ${PC_LIBEINA_CFLAGS_OTHER})
12set(EINA_LDFLAGS_OTHER ${PC_LIBEINA_LDFLAGS_OTHER})
11 13
12find_path(EINA_INCLUDE_DIR Eina.h 14find_path(EINA_INCLUDE_DIR Eina.h
13 HINTS ${PC_LIBEINA_INCLUDEDIR} ${PC_LIBEINA_INCLUDE_DIRS} 15 HINTS ${PC_LIBEINA_INCLUDEDIR} ${PC_LIBEINA_INCLUDE_DIRS}