From 922c810a3db21cec44c92dffc612d191d89c9e00 Mon Sep 17 00:00:00 2001 From: Falk Werner Date: Sun, 31 Mar 2019 23:07:19 +0200 Subject: [PATCH] fixes cmake build error (missing openssl symbols) --- CMakeLists.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ced825a..082d3b0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -187,6 +187,8 @@ install(FILES "${PROJECT_BINARY_DIR}/libwebfuse-provider.pc" DESTINATION lib${LI # examples +pkg_check_modules(OPENSSL REQUIRED openssl) + if(NOT WITHOUT_EXAMPLE) # libuserdb @@ -231,9 +233,6 @@ target_compile_options(webfuse-provider-app PUBLIC ${EXTRA_CFLAGS}) # webfuse-passwd -pkg_check_modules(OPENSSL REQUIRED openssl) - - add_executable(webfuse-passwd example/passwd/main.c )