#706: Properly set FLTK include directory.
This commit is contained in:
parent
25c6e8acbd
commit
f453523b67
2 changed files with 2 additions and 3 deletions
|
@ -209,9 +209,6 @@ if(ENABLE_FGADMIN)
|
|||
list(APPEND FLTK_LIBRARIES ${X11_Xft_LIB})
|
||||
endif()
|
||||
|
||||
set( CMAKE_REQUIRED_INCLUDES ${FLTK_INCLUDE_DIR} )
|
||||
set( CMAKE_REQUIRED_LIBRARIES ${FLTK_LIBRARIES} )
|
||||
|
||||
message(STATUS "Using FLTK_LIBRARIES for fgadmin: ${FLTK_LIBRARIES}")
|
||||
endif ( FLTK_FOUND )
|
||||
endif(ENABLE_FGADMIN)
|
||||
|
|
|
@ -5,6 +5,8 @@ add_library(FGAdminUI ${FGAdminUI_FLTK_UI_SRCS})
|
|||
add_executable(fgadmin fgadmin_funcs.cxx main.cxx untarka.c)
|
||||
add_dependencies(fgadmin FGAdminUI)
|
||||
|
||||
include_directories(${FLTK_INCLUDE_DIR})
|
||||
|
||||
target_link_libraries(fgadmin FGAdminUI
|
||||
${SIMGEAR_CORE_LIBRARIES}
|
||||
${PLIB_LIBRARIES}
|
||||
|
|
Loading…
Reference in a new issue