qmlfrontend/CMakeLists.txt
changeset 16039 a73b9770467a
parent 15922 ebc50f21e849
equal deleted inserted replaced
16035:1f9f971adec4 16039:a73b9770467a
     7 
     7 
     8 set(CMAKE_INCLUDE_CURRENT_DIR ON)
     8 set(CMAKE_INCLUDE_CURRENT_DIR ON)
     9 set(CMAKE_AUTOMOC ON)
     9 set(CMAKE_AUTOMOC ON)
    10 set(CMAKE_AUTORCC ON)
    10 set(CMAKE_AUTORCC ON)
    11 
    11 
    12 find_package(Qt5 COMPONENTS Core Quick REQUIRED)
    12 find_package(Qt6 COMPONENTS Core Quick REQUIRED)
    13 
    13 
    14 add_executable(${PROJECT_NAME} "main.cpp" "qml.qrc"
    14 add_executable(${PROJECT_NAME} "main.cpp" "qml.qrc"
    15     "hwengine.cpp" "hwengine.h"
    15     "hwengine.cpp" "hwengine.h"
    16     "game_config.cpp" "game_config.h"
    16     "game_config.cpp" "game_config.h"
    17     "game_view.cpp" "game_view.h"
    17     "game_view.cpp" "game_view.h"
    23     "net_session.cpp" "net_session.h"
    23     "net_session.cpp" "net_session.h"
    24     "players_model.cpp" "players_model.h"
    24     "players_model.cpp" "players_model.h"
    25     "rooms_model.cpp" "rooms_model.h"
    25     "rooms_model.cpp" "rooms_model.h"
    26     )
    26     )
    27 
    27 
    28 target_link_libraries(${PROJECT_NAME} Qt5::Core Qt5::Network Qt5::Quick)
    28 target_link_libraries(${PROJECT_NAME} Qt6::Core Qt6::Network Qt6::Quick)