From cfdc7db79a0e01c4bc1724e7d57d21e2eb3b023b Mon Sep 17 00:00:00 2001 From: Thomas Geymayer Date: Tue, 26 Feb 2013 12:53:56 +0100 Subject: [PATCH] sgstream_test needs linking with zlib --- simgear/misc/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/simgear/misc/CMakeLists.txt b/simgear/misc/CMakeLists.txt index 9c807137..c2fbf60a 100644 --- a/simgear/misc/CMakeLists.txt +++ b/simgear/misc/CMakeLists.txt @@ -36,7 +36,9 @@ if(ENABLE_TESTS) if (SIMGEAR_SHARED) set(TEST_LIBS SimGearCore) else() - set(TEST_LIBS SimGearCore ${CMAKE_THREAD_LIBS_INIT}) + set(TEST_LIBS SimGearCore + ${CMAKE_THREAD_LIBS_INIT} + ${ZLIB_LIBRARY}) endif() add_executable(test_tabbed_values tabbed_values_test.cxx)