|
|
@ -6,20 +6,10 @@ set(CMAKE_AUTOMOC ON) |
|
|
|
set(CMAKE_AUTORCC ON) |
|
|
|
set(CMAKE_AUTORCC ON) |
|
|
|
set(CMAKE_AUTOUIC ON) |
|
|
|
set(CMAKE_AUTOUIC ON) |
|
|
|
|
|
|
|
|
|
|
|
find_package(Qt6 COMPONENTS |
|
|
|
find_package(Qt6 COMPONENTS OpenGLWidgets REQUIRED) |
|
|
|
Core |
|
|
|
|
|
|
|
Gui |
|
|
|
|
|
|
|
Widgets |
|
|
|
|
|
|
|
OpenGLWidgets |
|
|
|
|
|
|
|
REQUIRED) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
file(GLOB_RECURSE SOURCE_FILES src/**.cpp) |
|
|
|
file(GLOB_RECURSE SOURCE_FILES src/**.cpp) |
|
|
|
file(GLOB_RECURSE HEADER_FILES headers/**.h) |
|
|
|
file(GLOB_RECURSE HEADER_FILES headers/**.h) |
|
|
|
add_executable(Mandelbrot ${SOURCE_FILES} ${HEADER_FILES} shaders.qrc) |
|
|
|
add_executable(Mandelbrot ${SOURCE_FILES} ${HEADER_FILES} shaders.qrc) |
|
|
|
|
|
|
|
|
|
|
|
target_link_libraries(Mandelbrot |
|
|
|
target_link_libraries(Mandelbrot Qt::OpenGLWidgets) |
|
|
|
Qt::Core |
|
|
|
|
|
|
|
Qt::Gui |
|
|
|
|
|
|
|
Qt::Widgets |
|
|
|
|
|
|
|
Qt::OpenGLWidgets |
|
|
|
|
|
|
|
) |
|
|
|
|