]> git.mxchange.org Git - flightgear.git/commitdiff
Fix link ordering to keep GNU ld happy.
authorJames Turner <zakalawe@mac.com>
Sun, 19 Dec 2010 17:03:35 +0000 (09:03 -0800)
committerJames Turner <zakalawe@mac.com>
Sun, 19 Dec 2010 17:03:35 +0000 (09:03 -0800)
CMakeModules/FindSimGear.cmake
src/FDM/CMakeLists.txt

index 3d833b4247e91d651f6c915bb3e1e95ed75ea70c..b4ac321fbcc5fb2b58387753d715544cfd76400e 100644 (file)
@@ -90,24 +90,24 @@ if(${SIMGEAR_LIBRARIES} STREQUAL "SIMGEAR_LIBRARIES-NOTFOUND")
   # linker such as GNU ld on Linux
        set(comps 
                ephemeris
-               bucket
                environment
                nasal
-               props
-               xml
-               debug 
     sky
                material tgdb
     model    
     screen
+    bucket
     bvh
-               structure
                util route
                timing
                threads
                io
     serial
                sound
+    structure
+    props
+    xml
+    debug 
                misc
                magvar
     math)
index 3dd1225c9e117544c3fab6b2b8d4d9177098a3f1..72b685dc1447f9aaa6521fb4feade5178492e273 100644 (file)
@@ -136,10 +136,6 @@ set(SOURCES
        ExternalPipe/ExternalPipe.cxx
        )
 
-if(ENABLE_YASIM)
-       add_subdirectory(YASim)
-endif()
-
 if(ENABLE_UIUC_MODEL)
        foreach(component ${UIUC_SOURCES})
                list(APPEND SOURCES "UIUCModel/${component}")
@@ -154,6 +150,11 @@ endif()
 
 flightgear_component(FDM "${SOURCES}")
 
+if(ENABLE_YASIM)
+       add_subdirectory(YASim)
+endif()
+
+
 if(ENABLE_JSBSIM)
     add_subdirectory(JSBSim)