]> git.mxchange.org Git - simgear.git/commitdiff
sgstream_test needs linking with zlib
authorThomas Geymayer <tomgey@gmail.com>
Tue, 26 Feb 2013 11:53:56 +0000 (12:53 +0100)
committerThomas Geymayer <tomgey@gmail.com>
Tue, 26 Feb 2013 11:53:56 +0000 (12:53 +0100)
simgear/misc/CMakeLists.txt

index 9c8071374e2a9cca37a69ae6a6b87234a4974265..c2fbf60a83d4dda41467782064a1a410cb384a86 100644 (file)
@@ -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)