mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Link against libargp on non-linux platforms
This commit is contained in:
parent
593cd4514a
commit
f08d145c39
@ -9,6 +9,7 @@ set(CLIENT_PUBLIC_INCLUDE_DIRS
|
||||
set(CLIENT_PRIVATE_INCLUDE_DIRS
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CSYNC_PUBLIC_INCLUDE_DIRS}
|
||||
${ARGP_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
set(CLIENT_EXECUTABLE
|
||||
@ -21,6 +22,10 @@ set(CLIENT_LINK_LIBRARIES
|
||||
${CSYNC_LIBRARY}
|
||||
)
|
||||
|
||||
if(NOT LINUX)
|
||||
list(APPEND CLIENT_LINK_LIBRARIES ${ARGP_LIBRARIES})
|
||||
endif()
|
||||
|
||||
set(client_SRCS
|
||||
csync_client.c
|
||||
csync_auth.c
|
||||
|
||||
Loading…
Reference in New Issue
Block a user