|
|
|
@ -13,12 +13,22 @@ set(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
|
|
|
|
|
|
|
|
|
option(UPDATE_TRANSLATIONS "Update source translation translations/*.ts files" OFF)
|
|
|
|
|
|
|
|
|
|
find_package(Qt5LinguistTools REQUIRED QUIET)
|
|
|
|
|
find_package(Qt5LinguistTools REQUIRED)
|
|
|
|
|
find_package(Qt5Widgets REQUIRED)
|
|
|
|
|
message(STATUS "Building with Qt${Qt5Core_VERSION_STRING}")
|
|
|
|
|
message(STATUS "Building with Qt${Qt5Core_VERSION}")
|
|
|
|
|
|
|
|
|
|
find_package(lxqt REQUIRED)
|
|
|
|
|
|
|
|
|
|
if(NOT CMAKE_BUILD_TYPE)
|
|
|
|
|
set(CMAKE_BUILD_TYPE Release)
|
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
# Patch Version
|
|
|
|
|
set(LXQT_ASKPASS_PATCH_VERSION 0)
|
|
|
|
|
|
|
|
|
|
set(LXQT_ASKPASS_VERSION ${LXQT_MAJOR_VERSION}.${LXQT_MINOR_VERSION}.${LXQT_ADMIN_ASKPASS_VERSION})
|
|
|
|
|
add_definitions("-DLXQT_ASKPASS_VERSION=\"${LXQT_ASKPASS_VERSION}\"")
|
|
|
|
|
|
|
|
|
|
include(LXQtCompilerSettings NO_POLICY_SCOPE)
|
|
|
|
|
|
|
|
|
|
set(lxqt-openssh-askpass_HDRS
|
|
|
|
|