From: James Turner Date: Mon, 26 Mar 2012 15:09:21 +0000 (+0100) Subject: Fix YAsim linkage. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=59253531bcb0a6ad23e8b1743fc48ce00fa91616;p=flightgear.git Fix YAsim linkage. --- diff --git a/src/FDM/YASim/CMakeLists.txt b/src/FDM/YASim/CMakeLists.txt index b5c218ca2..d6638966f 100644 --- a/src/FDM/YASim/CMakeLists.txt +++ b/src/FDM/YASim/CMakeLists.txt @@ -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 +) + +set(SOURCES + ${COMMON} YASim.cxx + FGGround.cpp ) -flightgear_component(YASim "${SOURCES}") +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) \ No newline at end of file +install(TARGETS yasim RUNTIME DESTINATION bin)