From 956ba8845bc8ac4926612559fe6e1adec39db0ce Mon Sep 17 00:00:00 2001 From: James Turner <zakalawe@mac.com> Date: Fri, 28 Oct 2011 15:09:10 +0100 Subject: [PATCH] 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. --- src/Main/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}