# Make ${Qt6_Gui} optional
if(QT6_GUI_AVAILABLE AND TARGET Qt6::Gui)
  set(Qt6_Gui ${Qt6_Gui})
else()
  set(Qt6_Gui "")
endif()


#
# @RDE_HEADER@
# $Id$
# $HeadURL$
# $Author$
#

# External dependency - missing: situationMapCommon, situationMapElevationMap
# Test disabled until external dependencies are available
# IF(BUILD_TESTING AND TARGET LtsElevation)
# ADD_EXECUTABLE(commenUnitTestElevation ${LinkedSources} ${UnitTestSources} )
# 
# TARGET_LINK_LIBRARIES(commenUnitTestElevation
#     NGLLogger
#     nglcoreapplication
#     LtsElevation
#     LtsCoordTrans
#     situationMapCommon
#     situationMapElevationMap
#     Qt6::Core
#     ${Qt6_Gui}
#     Qt6::Test)
# 
# ADD_TEST(NAME commenUnitTestElevation COMMAND $<TARGET_FILE:commenUnitTestElevation>)
# ENDIF()
