From: James Turner Date: Tue, 21 Aug 2012 21:55:04 +0000 (+0100) Subject: Fix tests linkage when building static libs. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=27ade6c4209f41b5ca87beeaf17677b4e14b0aba;p=simgear.git Fix tests linkage when building static libs. --- 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)