cmake: Make rti/hla compile again.

This commit is contained in:
Mathias Froehlich
2012-09-16 21:13:26 +02:00
parent 18f7102461
commit 052382af89
2 changed files with 7 additions and 3 deletions

View File

@@ -100,5 +100,10 @@ else()
endif(NOT SIMGEAR_HEADLESS)
endif(SIMGEAR_SHARED)
if(ENABLE_RTI)
# Ugly first aid to make hla compile agian
set_property(SOURCE hla/RTI13InteractionClass.cxx hla/RTI13ObjectClass.cxx
hla/RTI13ObjectInstance.cxx hla/RTI13Federate.cxx
hla/RTI13FederateFactory.cxx
APPEND PROPERTY COMPILE_FLAGS "-I${RTI_INCLUDE_DIR}")
endif(ENABLE_RTI)

View File

@@ -60,7 +60,6 @@ if(RTI_FOUND)
RTI13FederateFactory.cxx
)
simgear_component(rti13 hla "${RTI13_SOURCES}" "")
set_property(TARGET sgrti13 APPEND PROPERTY COMPILE_FLAGS "-I${RTI_INCLUDE_DIR}")
endif()
set(RTI_SOURCES