Adds latest migration results
This commit is contained in:
829 files changed
+35074
-70886
No files matched your search
+16
-6
@@ -1,3 +1,11 @@
|
||||
# Make ${Qt6_Widgets} optional
|
||||
if(QT6_GUI_AVAILABLE AND TARGET Qt6::Widgets)
|
||||
set(Qt6_Widgets ${Qt6_Widgets})
|
||||
else()
|
||||
set(Qt6_Widgets "")
|
||||
endif()
|
||||
|
||||
|
||||
cmake_minimum_required(VERSION 3.16)
|
||||
project(TrajectoryShader LANGUAGES CXX)
|
||||
|
||||
@@ -20,11 +28,13 @@ qt_add_executable(TrajectoryShader
|
||||
ballistiksimulator.h ballistiksimulator.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(TrajectoryShader
|
||||
PRIVATE
|
||||
Qt6::Widgets
|
||||
Qt6::OpenGLWidgets
|
||||
Qt6::OpenGL
|
||||
)
|
||||
if(QT6_GUI_AVAILABLE)
|
||||
target_link_libraries(TrajectoryShader
|
||||
PRIVATE
|
||||
${Qt6_Widgets}
|
||||
Qt6::OpenGLWidgets
|
||||
Qt6::OpenGL
|
||||
)
|
||||
endif()
|
||||
|
||||
qt_finalize_executable(TrajectoryShader)
|
||||
Reference in new issue
Block a user