diff options
author | Jon Simons <jon@jonsimons.org> | 2014-10-13 03:06:39 -0700 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2014-10-15 10:26:24 +0200 |
commit | a25790d34388d4f71371655d21a38d283ad4d85e (patch) | |
tree | ad6bdc904fbc22e52126a0e7363a71b1afe1c0b4 /tests/CMakeLists.txt | |
parent | cd2dc3770a49fc4487cbb0625003983e43520ec7 (diff) | |
download | libssh-a25790d34388d4f71371655d21a38d283ad4d85e.tar.gz libssh-a25790d34388d4f71371655d21a38d283ad4d85e.tar.xz libssh-a25790d34388d4f71371655d21a38d283ad4d85e.zip |
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>
Diffstat (limited to 'tests/CMakeLists.txt')
-rw-r--r-- | tests/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index cba1d303..7cdb2c48 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -47,4 +47,6 @@ if (WITH_BENCHMARKS) add_subdirectory(benchmarks) endif (WITH_BENCHMARKS) -add_subdirectory(pkd) +if (WITH_SERVER) + add_subdirectory(pkd) +endif (WITH_SERVER) |