summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2018-11-15 13:38:02 +0100
committerAndreas Schneider <asn@cryptomilk.org>2018-11-15 13:38:02 +0100
commitaa56b8ca5306825bcba91788e233b71507477b8c (patch)
tree356a6ff215a27ad611b17e10a3bcc7fffbd9025c
parent67f418218bd3c2cec9e3b838541a1c371aeaa106 (diff)
downloadlibssh-aa56b8ca5306825bcba91788e233b71507477b8c.tar.gz
libssh-aa56b8ca5306825bcba91788e233b71507477b8c.tar.xz
libssh-aa56b8ca5306825bcba91788e233b71507477b8c.zip
tests: Fix chroot_wrapper location
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
-rw-r--r--tests/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 64d96fc5..855cbaa6 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -84,7 +84,7 @@ if (CLIENT_TESTING)
# chroot_wrapper
add_library(chroot_wrapper SHARED chroot_wrapper.c)
- set(CHROOT_WRAPPER_LIBRARY ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_SHARED_LIBRARY_PREFIX}chroot_wrapper${CMAKE_SHARED_LIBRARY_SUFFIX})
+ set(CHROOT_WRAPPER_LIBRARY ${libssh_BINARY_DIR}/lib/${CMAKE_SHARED_LIBRARY_PREFIX}chroot_wrapper${CMAKE_SHARED_LIBRARY_SUFFIX})
set(TEST_TARGET_LIBRARIES
${TEST_TARGET_LIBRARIES}
chroot_wrapper