From 96c2e4d3abb40ebbe3ccb49dae93679d4d2c3ef6 Mon Sep 17 00:00:00 2001 From: ThorstenB Date: Sun, 29 Jan 2012 14:28:49 +0100 Subject: [PATCH] Correct dependency of shared simgear libraries with enabled JPEG_FACTORY. --- simgear/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simgear/CMakeLists.txt b/simgear/CMakeLists.txt index 9a309e0e..a7ac3932 100644 --- a/simgear/CMakeLists.txt +++ b/simgear/CMakeLists.txt @@ -56,7 +56,7 @@ if(SIMGEAR_SHARED) set_property(TARGET SimGearCore PROPERTY VERSION ${SIMGEAR_VERSION}) set_property(TARGET SimGearCore PROPERTY SOVERSION ${SIMGEAR_SOVERSION}) - target_link_libraries(SimGearCore ${ZLIB_LIBRARY} ${RT_LIBRARY}) + target_link_libraries(SimGearCore ${ZLIB_LIBRARY} ${RT_LIBRARY} ${JPEG_LIBRARY}) install(TARGETS SimGearCore LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}) if(NOT SIMGEAR_HEADLESS) -- 2.39.5