From: Thomas Geymayer Date: Tue, 26 Feb 2013 11:53:56 +0000 (+0100) Subject: sgstream_test needs linking with zlib X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=cfdc7db79a0e01c4bc1724e7d57d21e2eb3b023b;p=simgear.git sgstream_test needs linking with zlib --- 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)