Enable build of fgpanel by default in cmake
This commit is contained in:
parent
1c8d8e7908
commit
8f0f67f668
2 changed files with 8 additions and 0 deletions
|
@ -56,6 +56,7 @@ option(ENABLE_JSBSIM "Set to ON to build FlightGear with JSBSim FDM" ON)
|
|||
option(ENABLE_FGADMIN "Set to ON to build FlightGear with FGADMIN" ON)
|
||||
option(EVENT_INPUT "Set to ON to build FlightGear with event-based Input support" OFF)
|
||||
option(ENABLE_LIBSVN "Set to ON to build FlightGear/terrasync with libsvnclient support" OFF)
|
||||
option(WITH_FGPANEL "Set to ON to build the fgpanel application" ON)
|
||||
|
||||
set(MSVC_3RDPARTY_ROOT NOT_FOUND CACHE PATH "Location where the third-party dependencies are extracted")
|
||||
|
||||
|
@ -65,6 +66,12 @@ else()
|
|||
set(FG_NDEBUG 1)
|
||||
endif()
|
||||
|
||||
if(WITH_FGPANEL)
|
||||
message(STATUS "Will build fgpanel")
|
||||
else()
|
||||
message(STATUS "Will NOT build fgpanel")
|
||||
endif()
|
||||
|
||||
if(SP_FDMS)
|
||||
set(ENABLE_SP_FDM 1)
|
||||
endif()
|
||||
|
|
|
@ -14,6 +14,7 @@ add_executable(fgpanel main.cxx
|
|||
panel_io.cxx)
|
||||
|
||||
target_link_libraries(fgpanel
|
||||
-lrt
|
||||
${PNG_LIBRARIES}
|
||||
${GLUT_LIBRARIES}
|
||||
${SIMGEAR_LIBRARIES}
|
||||
|
|
Loading…
Reference in a new issue