2020-08-19 13:49:50 +00:00
|
|
|
function(setup_fgfs_includes target)
|
2018-03-26 20:27:25 +00:00
|
|
|
if(ENABLE_JSBSIM)
|
|
|
|
# FIXME - remove once JSBSim doesn't expose private headers
|
2020-08-19 13:49:50 +00:00
|
|
|
target_include_directories(${target} PRIVATE ${PROJECT_SOURCE_DIR}/src/FDM/JSBSim)
|
2018-03-26 20:27:25 +00:00
|
|
|
endif()
|
|
|
|
|
2021-07-17 22:19:14 +00:00
|
|
|
if(ENABLE_OSGXR)
|
|
|
|
target_include_directories(${target} PRIVATE ${osgXR_INCLUDE_DIR})
|
|
|
|
endif()
|
|
|
|
|
2020-09-29 11:30:28 +00:00
|
|
|
target_include_directories(${target} PRIVATE ${PLIB_INCLUDE_DIR})
|
2020-08-19 13:49:50 +00: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 20:27:25 +00:00
|
|
|
endfunction()
|