1
0
Fork 0
flightgear/CMakeModules/SetupFGFSIncludes.cmake
James Turner 9fc45e598f Remove Qt includes from fgfsObjects build
Sink all Qt classes into the specific libraries, so the main objects
don’t need the includes available.
2021-03-09 21:54:47 +00:00

12 lines
534 B
CMake

function(setup_fgfs_includes target)
if(ENABLE_JSBSIM)
# FIXME - remove once JSBSim doesn't expose private headers
target_include_directories(${target} PRIVATE ${PROJECT_SOURCE_DIR}/src/FDM/JSBSim)
endif()
target_include_directories(${target} PRIVATE ${PLIB_INCLUDE_DIR})
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)
endfunction()