From adfce8551edc4cfa3c8b23e2c0bf872a5642e365 Mon Sep 17 00:00:00 2001 From: Falk Werner Date: Sun, 1 Mar 2020 19:08:39 +0100 Subject: [PATCH] fix: added dependend libs to libwebfuse-provider --- cmake/webfuse_provider.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/webfuse_provider.cmake b/cmake/webfuse_provider.cmake index a0c9e08..4cf285d 100644 --- a/cmake/webfuse_provider.cmake +++ b/cmake/webfuse_provider.cmake @@ -20,7 +20,7 @@ add_library(webfuse-provider-static STATIC set_target_properties(webfuse-provider-static PROPERTIES OUTPUT_NAME webfuse-provider) set_target_properties(webfuse-provider-static PROPERTIES C_VISIBILITY_PRESET hidden) -target_include_directories(webfuse-provider-static PUBLIC +target_include_directories(webfuse-provider-static PRIVATE lib lib/wf/timer/include lib/wf/jsonrpc/include @@ -36,7 +36,7 @@ set_target_properties(webfuse-provider PROPERTIES C_VISIBILITY_PRESET hidden) set_target_properties(webfuse-provider PROPERTIES COMPILE_DEFINITIONS "WFP_API=WFP_EXPORT") target_include_directories(webfuse-provider PUBLIC lib) -target_link_libraries(webfuse-provider PRIVATE webfuse-provider-static webfuse-core) +target_link_libraries(webfuse-provider PRIVATE webfuse-provider-static webfuse-core wf_jsonrpc wf_timer) file(WRITE "${PROJECT_BINARY_DIR}/libwebfuse-provider.pc" "prefix=\"${CMAKE_INSTALL_PREFIX}\"