]> git.mxchange.org Git - simgear.git/commitdiff
Correct dependency of shared simgear libraries with enabled JPEG_FACTORY.
authorThorstenB <brehmt@gmail.com>
Sun, 29 Jan 2012 13:28:49 +0000 (14:28 +0100)
committerThorstenB <brehmt@gmail.com>
Sun, 29 Jan 2012 13:28:49 +0000 (14:28 +0100)
simgear/CMakeLists.txt

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