summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e683225..8b82d00 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -3,9 +3,9 @@ project(itat_challange_olympics)
set(CMAKE_CXX_STANDARD 17)
-add_executable(itat_challange_olympics main.cpp)
-
find_package(Qt6 REQUIRED COMPONENTS Core)
+set(CMAKE_AUTORCC ON)
+qt_add_executable(itat_challange_olympics application.qrc main.cpp)
target_link_libraries(itat_challange_olympics PRIVATE Qt6::Core)
find_package(Qt6 REQUIRED COMPONENTS Quick)