This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 3.8) | |
project(tsProject) | |
# Managing translations require LinguistTools module | |
# The cmake function is defined in the Qt installation tree: | |
# i.e. Qt5.9.1/5.9.1/gcc_64/lib/cmake/Qt5LinguistTools/Qt5LinguistToolsMacros.cmake | |
# Reference: https://doc.qt.io/qt-5/cmake-manual.html#qt5linguisttools-macros | |
find_package(Qt5 COMPONENTS Widgets LinguistTools) | |
set (CMAKE_CXX_STANDARD 11) | |
set(CMAKE_INCLUDE_CURRENT_DIR ON) |