Fix link ordering to keep GNU ld happy.
This commit is contained in:
parent
0931fe332e
commit
3f00b27926
2 changed files with 10 additions and 9 deletions
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue