diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2018-11-15 13:38:02 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2018-11-15 13:38:02 +0100 |
commit | aa56b8ca5306825bcba91788e233b71507477b8c (patch) | |
tree | 356a6ff215a27ad611b17e10a3bcc7fffbd9025c /tests | |
parent | 67f418218bd3c2cec9e3b838541a1c371aeaa106 (diff) | |
download | libssh-aa56b8ca5306825bcba91788e233b71507477b8c.tar.gz libssh-aa56b8ca5306825bcba91788e233b71507477b8c.tar.xz libssh-aa56b8ca5306825bcba91788e233b71507477b8c.zip |
tests: Fix chroot_wrapper location
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/CMakeLists.txt | 2 |
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 |