Migrates non-ArcGIS built successfully (tbc)
This commit is contained in:
6 files changed
+45
-12
No files matched your search
@@ -64,15 +64,14 @@ NGL_INSTALL_TARGET(LtsDataView)
|
||||
|
||||
# Test-Executable
|
||||
NGL_ADD_EXECUTABLE(WS NO_TRANSLATION LtsDataViewTest test.h test.cpp)
|
||||
if(QT6_GUI_AVAILABLE)
|
||||
NGL_TARGET_LINK_LIBRARIES(LtsDataViewTest
|
||||
${Qt6_Widgets}
|
||||
LtsDataView
|
||||
LtsWidgets
|
||||
)
|
||||
endif()
|
||||
NGL_TARGET_LINK_LIBRARIES(LtsDataViewTest
|
||||
${Qt6_Widgets}
|
||||
LtsDataView
|
||||
LtsWidgets
|
||||
)
|
||||
|
||||
# Register test with CTest
|
||||
if(BUILD_TESTING)
|
||||
add_test(NAME LtsDataViewTest COMMAND $<TARGET_FILE:LtsDataViewTest>)
|
||||
set_tests_properties(LtsDataViewTest PROPERTIES ENVIRONMENT "QT_QPA_PLATFORM=offscreen")
|
||||
endif()
|
||||
Reference in new issue
Block a user