diff options
author | Michele Calgaro <[email protected]> | 2021-10-30 13:47:29 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2021-10-30 13:47:29 +0900 |
commit | e8494e60efeb94c67c813d1c1c038031915e8c17 (patch) | |
tree | 3238b3e8ceeb577a8eda00da66704c7e5fc6f9f5 /cmake | |
parent | 28de2ff84f59ac0b173670aa9c5331bc77c1e63f (diff) | |
download | polkit-tqt-e8494e60efeb94c67c813d1c1c038031915e8c17.tar.gz polkit-tqt-e8494e60efeb94c67c813d1c1c038031915e8c17.zip |
Raw Qt->TQt conversion using tde/scripts/conversions/qt3-tqt3/convert_existing_qt3_app_to_tqt3.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/modules/FindPolkit.cmake | 2 | ||||
-rw-r--r-- | cmake/modules/FindPolkitQt-1.cmake | 20 |
2 files changed, 11 insertions, 11 deletions
diff --git a/cmake/modules/FindPolkit.cmake b/cmake/modules/FindPolkit.cmake index 35fc86e15..083829364 100644 --- a/cmake/modules/FindPolkit.cmake +++ b/cmake/modules/FindPolkit.cmake @@ -65,7 +65,7 @@ find_library( POLKIT_AGENT_LIBRARY include(FindPackageHandleStandardArgs) -# handle the QUIETLY and REQUIRED arguments and set POLKIT_FOUND to TRUE if +# handle the TQUIETLY and REQUIRED arguments and set POLKIT_FOUND to TRUE if # all listed variables are TRUE find_package_handle_standard_args(Polkit DEFAULT_MSG POLKIT_LIBRARIES POLKIT_AGENT_LIBRARY POLKIT_INCLUDE_DIR POLKIT_AGENT_INCLUDE_DIR GLIB2_FOUND) diff --git a/cmake/modules/FindPolkitQt-1.cmake b/cmake/modules/FindPolkitQt-1.cmake index 30d27de15..f28c494e4 100644 --- a/cmake/modules/FindPolkitQt-1.cmake +++ b/cmake/modules/FindPolkitQt-1.cmake @@ -1,4 +1,4 @@ -# - Try to find PolkitQt-1 +# - Try to find PolkitTQt-1 # Once done this will define # # POLKITQT-1_FOUND - system has Polkit-qt @@ -9,8 +9,8 @@ # POLKITQT-1_AGENT_LIBRARY - Link this to use the agent wrapper in polkit-qt # POLKITQT-1_DEFINITIONS - Compiler switches required for using Polkit-qt # -# The minimum required version of PolkitQt-1 can be specified using the -# standard syntax, e.g. find_package(PolkitQt-1 1.0) +# The minimum required version of PolkitTQt-1 can be specified using the +# standard syntax, e.g. find_package(PolkitTQt-1 1.0) # Copyright (c) 2010, Dario Freddi, <[email protected]> # @@ -18,16 +18,16 @@ # For details see the accompanying COPYING-CMAKE-SCRIPTS file. # Support POLKITQT-1_MIN_VERSION for compatibility: -if ( NOT PolkitQt-1_FIND_VERSION AND POLKITQT-1_MIN_VERSION ) - set ( PolkitQt-1_FIND_VERSION ${POLKITQT-1_MIN_VERSION} ) -endif ( NOT PolkitQt-1_FIND_VERSION AND POLKITQT-1_MIN_VERSION ) +if ( NOT PolkitTQt-1_FIND_VERSION AND POLKITQT-1_MIN_VERSION ) + set ( PolkitTQt-1_FIND_VERSION ${POLKITQT-1_MIN_VERSION} ) +endif ( NOT PolkitTQt-1_FIND_VERSION AND POLKITQT-1_MIN_VERSION ) -set( _PolkitQt-1_FIND_QUIETLY ${PolkitQt-1_FIND_QUIETLY} ) -find_package( PolkitQt-1 ${PolkitQt-1_FIND_VERSION} QUIET NO_MODULE PATHS ${LIB_INSTALL_DIR}/PolkitQt-1/cmake ) -set( PolkitQt-1_FIND_QUIETLY ${_PolkitQt-1_FIND_QUIETLY} ) +set( _PolkitTQt-1_FIND_QUIETLY ${PolkitTQt-1_FIND_QUIETLY} ) +find_package( PolkitTQt-1 ${PolkitTQt-1_FIND_VERSION} TQUIET NO_MODULE PATHS ${LIB_INSTALL_DIR}/PolkitTQt-1/cmake ) +set( PolkitTQt-1_FIND_QUIETLY ${_PolkitTQt-1_FIND_QUIETLY} ) include( FindPackageHandleStandardArgs ) -find_package_handle_standard_args( PolkitQt-1 DEFAULT_MSG PolkitQt-1_CONFIG ) +find_package_handle_standard_args( PolkitTQt-1 DEFAULT_MSG PolkitTQt-1_CONFIG ) if (POLKITQT-1_FOUND) if (NOT POLKITQT-1_INSTALL_DIR STREQUAL CMAKE_INSTALL_PREFIX) |