From 7f2ad1a768cd89c3e873c8d1750fe72f4ec47003 Mon Sep 17 00:00:00 2001 From: iDunk5400 Date: Wed, 3 Oct 2018 01:06:03 +0200 Subject: functional_tests: fix linking on Windows --- tests/functional_tests/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/functional_tests/CMakeLists.txt') diff --git a/tests/functional_tests/CMakeLists.txt b/tests/functional_tests/CMakeLists.txt index 7a2a7fbd1..4b21b945c 100644 --- a/tests/functional_tests/CMakeLists.txt +++ b/tests/functional_tests/CMakeLists.txt @@ -26,6 +26,10 @@ # STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF # THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +if(WIN32) + set(EXTRA_LIBRARIES "${EXTRA_LIBRARIES};bcrypt") +endif() + set(functional_tests_sources main.cpp transactions_flow_test.cpp -- cgit v1.2.3