summaryrefslogtreecommitdiff
path: root/src/lib/eina
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>2017-01-25 19:21:06 -0200
committerGustavo Sverzut Barbieri <barbieri@profusion.mobi>2017-01-25 19:29:20 -0200
commitf74ca08be9b78e5ac9a2f302ba2607db94872085 (patch)
treeede68b08efdcb71dd8141c110853dfb23b7f1299 /src/lib/eina
parenta2bc5ee1306184c8abab4c7eb62ddedb74687900 (diff)
cmake/eina: check more required functions and link with unwind if found.
unwind is needed for debug, thus link to that.
Diffstat (limited to 'src/lib/eina')
-rw-r--r--src/lib/eina/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/eina/CMakeLists.txt b/src/lib/eina/CMakeLists.txt
index 33234700fe..bd23e782e8 100644
--- a/src/lib/eina/CMakeLists.txt
+++ b/src/lib/eina/CMakeLists.txt
@@ -8,6 +8,10 @@ if(ENABLE_VALGRIND)
8 list(APPEND PKG_CONFIG_REQUIRES_PRIVATE valgrind) 8 list(APPEND PKG_CONFIG_REQUIRES_PRIVATE valgrind)
9endif() 9endif()
10 10
11if(UNWIND_FOUND)
12 list(APPEND PKG_CONFIG_REQUIRES_PRIVATE libunwind libunwind-generic)
13endif()
14
11set(PUBLIC_LIBRARIES 15set(PUBLIC_LIBRARIES
12 pthread 16 pthread
13) 17)