mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-11 02:38:09 +09:00
tests: fix pkd build breakages
Fix a build breakage when '-DWITH_SERVER=OFF' is set: skip building the pkd test for that case. Add some missing includes for the OpenIndiana and FreeBSD builds. Signed-off-by: Jon Simons <jon@jonsimons.org> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
committed by
Andreas Schneider
parent
cd2dc3770a
commit
a25790d343
@@ -1,6 +1,6 @@
|
||||
project(pkd C)
|
||||
|
||||
if (UNIX AND NOT WIN32)
|
||||
if (WITH_SERVER AND UNIX AND NOT WIN32)
|
||||
|
||||
include_directories(
|
||||
${LIBSSH_PUBLIC_INCLUDE_DIRS}
|
||||
@@ -32,4 +32,4 @@ set(pkd_libs
|
||||
add_executable(pkd_hello ${pkd_hello_src})
|
||||
target_link_libraries(pkd_hello ${pkd_libs})
|
||||
|
||||
endif (UNIX AND NOT WIN32)
|
||||
endif (WITH_SERVER AND UNIX AND NOT WIN32)
|
||||
|
||||
Reference in New Issue
Block a user