qmlFrontend/CMakeLists.txt
branchqmlfrontend
changeset 10751 97d00ace1aed
child 10819 57e21f7621b0
equal deleted inserted replaced
10748:dc587913987c 10751:97d00ace1aed
       
     1 cmake_minimum_required(VERSION 2.8.11)
       
     2 
       
     3 project(hedgewars)
       
     4 
       
     5 set(CMAKE_INCLUDE_CURRENT_DIR ON)
       
     6 set(CMAKE_AUTOMOC ON)
       
     7 
       
     8 find_package(OpenGL)
       
     9 
       
    10 find_package(Qt5 COMPONENTS Core Qml Quick Gui)
       
    11 
       
    12 add_executable(hedgewars WIN32
       
    13     main
       
    14     hwengine
       
    15     previewimageprovider
       
    16     themeiconprovider
       
    17     qtquick2applicationviewer/qtquick2applicationviewer
       
    18     )
       
    19 
       
    20 include_directories(${OPENGL_INCLUDE_DIR})
       
    21 
       
    22 target_link_libraries(hedgewars Qt5::Core Qt5::Gui Qt5::Quick Qt5::Qml)