Fix tests linkage when building static libs.

This commit is contained in:
James Turner 2012-08-21 22:55:04 +01:00
parent 473249d605
commit 27ade6c420

View File

@ -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)