1
0
Fork 0

Fix YAsim linkage.

This commit is contained in:
James Turner 2012-03-26 16:09:21 +01:00
parent a38362646d
commit 59253531bc

View file

@ -1,11 +1,10 @@
include(FlightGearComponent)
set(SOURCES
set(COMMON
Airplane.cpp
Atmosphere.cpp
ControlMap.cpp
FGFDM.cpp
FGGround.cpp
Gear.cpp
Glue.cpp
Ground.cpp
@ -28,15 +27,20 @@ set(SOURCES
TurbineEngine.cpp
Turbulence.cpp
Wing.cpp
YASim.cxx
)
flightgear_component(YASim "${SOURCES}")
set(SOURCES
${COMMON}
YASim.cxx
FGGround.cpp
)
flightgear_component(YASim "${SOURCES}")
add_executable(yasim yasim-test.cpp ${SOURCES})
add_executable(yasim yasim-test.cpp ${COMMON})
target_link_libraries(yasim
${SIMGEAR_CORE_LIBRARIES}
${SIMGEAR_CORE_LIBRARY_DEPENDENCIES})
install(TARGETS yasim RUNTIME DESTINATION bin)
install(TARGETS yasim RUNTIME DESTINATION bin)