From 27ade6c4209f41b5ca87beeaf17677b4e14b0aba Mon Sep 17 00:00:00 2001 From: James Turner Date: Tue, 21 Aug 2012 22:55:04 +0100 Subject: [PATCH] Fix tests linkage when building static libs. --- simgear/sound/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/simgear/sound/CMakeLists.txt b/simgear/sound/CMakeLists.txt index 18141118..6161b33b 100644 --- a/simgear/sound/CMakeLists.txt +++ b/simgear/sound/CMakeLists.txt @@ -29,7 +29,8 @@ else() sgsound sgio sgmath sgstructure sgthreads sgtiming sgmisc sgdebug ${CMAKE_THREAD_LIBS_INIT} ${RT_LIBRARY} - ${OPENAL_LIBRARY}) + ${OPENAL_LIBRARY} + ${ZLIB_LIBRARY}) endif() function(create_test TEST_NAME) -- 2.39.5