From a25790d34388d4f71371655d21a38d283ad4d85e Mon Sep 17 00:00:00 2001 From: Jon Simons Date: Mon, 13 Oct 2014 03:06:39 -0700 Subject: 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 Reviewed-by: Andreas Schneider --- tests/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/CMakeLists.txt') 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) -- cgit