2020-08-19 14:49:50 +01:00
|
|
|
function(setup_fgfs_includes target)
|
2018-03-26 22:27:25 +02:00
|
|
|
if(ENABLE_JSBSIM)
|
|
|
|
# FIXME - remove once JSBSim doesn't expose private headers
|
2020-08-19 14:49:50 +01:00
|
|
|
target_include_directories(${target} PRIVATE ${PROJECT_SOURCE_DIR}/src/FDM/JSBSim)
|
2018-03-26 22:27:25 +02:00
|
|
|
endif()
|
|
|
|
|
2021-07-17 23:19:14 +01:00
|
|
|
if(ENABLE_OSGXR)
|
|
|
|
target_include_directories(${target} PRIVATE ${osgXR_INCLUDE_DIR})
|
|
|
|
endif()
|
|
|
|
|
2020-09-29 12:30:28 +01:00
|
|
|
target_include_directories(${target} PRIVATE ${PLIB_INCLUDE_DIR})
|
2020-08-19 14:49:50 +01:00
|
|
|
target_include_directories(${target} PRIVATE ${PROJECT_SOURCE_DIR}/3rdparty/cjson)
|
|
|
|
# only actually needed for httpd.cxx
|
|
|
|
target_include_directories(${target} PRIVATE ${PROJECT_SOURCE_DIR}/3rdparty/mongoose)
|
|
|
|
|
2018-03-26 22:27:25 +02:00
|
|
|
endfunction()
|