mirror of
https://github.com/falk-werner/webfuse-provider
synced 2024-10-27 20:44:10 +00:00
fix: added dependend libs to libwebfuse-provider
This commit is contained in:
parent
d040440e07
commit
adfce8551e
@ -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 OUTPUT_NAME webfuse-provider)
|
||||||
set_target_properties(webfuse-provider-static PROPERTIES C_VISIBILITY_PRESET hidden)
|
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
|
||||||
lib/wf/timer/include
|
lib/wf/timer/include
|
||||||
lib/wf/jsonrpc/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")
|
set_target_properties(webfuse-provider PROPERTIES COMPILE_DEFINITIONS "WFP_API=WFP_EXPORT")
|
||||||
|
|
||||||
target_include_directories(webfuse-provider PUBLIC lib)
|
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"
|
file(WRITE "${PROJECT_BINARY_DIR}/libwebfuse-provider.pc"
|
||||||
"prefix=\"${CMAKE_INSTALL_PREFIX}\"
|
"prefix=\"${CMAKE_INSTALL_PREFIX}\"
|
||||||
|
Loading…
Reference in New Issue
Block a user