diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 1213ab6..ad131bf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -39,7 +39,7 @@ include (AddThreads) find_package (Curses) find_package (PkgConfig REQUIRED) -pkg_check_modules (libssl REQUIRED libssl libcrypto) +pkg_check_modules (dependencies REQUIRED libssl libcrypto libffi) pkg_check_modules (ncursesw ncursesw) if ("${CMAKE_SYSTEM_NAME}" MATCHES "BSD") @@ -50,9 +50,9 @@ if ("${CMAKE_SYSTEM_NAME}" MATCHES "BSD") add_definitions (-D__BSD_VISIBLE=1 -D_BSD_SOURCE=1) endif ("${CMAKE_SYSTEM_NAME}" MATCHES "BSD") -list (APPEND project_libraries ${libssl_LIBRARIES}) -include_directories (${libssl_INCLUDE_DIRS}) -link_directories (${libssl_LIBRARY_DIRS}) +list (APPEND project_libraries ${dependencies_LIBRARIES}) +include_directories (${dependencies_INCLUDE_DIRS}) +link_directories (${dependencies_LIBRARY_DIRS}) # FIXME: other Lua versions may be acceptable, don't know yet pkg_search_module (lua lua53 lua5.3 lua-5.3 lua>=5.3) |