From: James Turner Date: Fri, 28 Oct 2011 14:09:10 +0000 (+0100) Subject: Fix Mac crashing on exit - link order determines library load order at runtime, and... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=956ba8845bc8ac4926612559fe6e1adec39db0ce;p=flightgear.git Fix Mac crashing on exit - link order determines library load order at runtime, and both ALUT and OpenAL.framework (on Mac) define the alut symbols. Fix the order so we always use ALUT.framework for the alut symbols. --- diff --git a/src/Main/CMakeLists.txt b/src/Main/CMakeLists.txt index 565ec65b1..16a84267c 100644 --- a/src/Main/CMakeLists.txt +++ b/src/Main/CMakeLists.txt @@ -73,9 +73,9 @@ target_link_libraries(fgfs ${FG_LIBS} ${SIMGEAR_LIBRARIES} ${OPENSCENEGRAPH_LIBRARIES} + ${ALUT_LIBRARY} ${OPENAL_LIBRARY} ${OPENGL_LIBRARIES} - ${ALUT_LIBRARY} ${PLIB_LIBRARIES} ${LIBSVN_LIBRARIES} ${HLA_LIBRARIES}