1
0
Fork 0

PLIB includes fix from Florent

This commit is contained in:
James Turner 2020-09-29 12:30:28 +01:00
parent 56d4662468
commit 329d3cdd13
3 changed files with 6 additions and 4 deletions

View file

@ -13,5 +13,4 @@ target_link_libraries(PLIBFont SimGearCore )
target_include_directories(PLIBFont PUBLIC
${CMAKE_CURRENT_SOURCE_DIR}
${OPENSCENEGRAPH_INCLUDE_DIRS})
target_include_directories(PLIBFont PRIVATE ${PLIB_INCLUDE_DIR})

View file

@ -4,8 +4,8 @@ function(setup_fgfs_includes target)
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)

View file

@ -1,4 +1,3 @@
add_executable(GPSsmooth
GPSsmooth.cxx GPSsmooth.hxx
gps_main.cxx
@ -16,6 +15,10 @@ add_executable(UGsmooth
UGear_main.cxx
)
target_include_directories(GPSsmooth PRIVATE ${PLIB_INCLUDE_DIR})
target_include_directories(MIDGsmooth PRIVATE ${PLIB_INCLUDE_DIR})
target_include_directories(UGsmooth PRIVATE ${PLIB_INCLUDE_DIR})
target_link_libraries(GPSsmooth
SimGearCore
${PLIB_SG_LIBRARY}