From bd7124c68a8b77952a04d1c0471cf0195c24fdb9 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 10 Feb 2024 19:51:57 +0900 Subject: [PATCH] Removed unused FindTQtQUI module Signed-off-by: Michele Calgaro --- modules/FindTQtQUI.cmake | 45 ---------------------------------------- 1 file changed, 45 deletions(-) delete mode 100644 modules/FindTQtQUI.cmake diff --git a/modules/FindTQtQUI.cmake b/modules/FindTQtQUI.cmake deleted file mode 100644 index 32dd245..0000000 --- a/modules/FindTQtQUI.cmake +++ /dev/null @@ -1,45 +0,0 @@ -################################################# -# -# (C) 2010-2011 Serghei Amelian -# serghei (DOT) amelian (AT) gmail.com -# -# Improvements and feedback are welcome -# -# This file is released under GPL >= 2 -# -################################################# - -macro( tqtqui_message ) - message( STATUS "${ARGN}" ) -endmacro( ) - -pkg_search_module( TQTQUI tqtqui ) - -if( NOT TQTQUI_FOUND ) - tde_message_fatal( "Unable to find tqtqui!\n Try adding the directory in which the tqtqui.pc file is located\nto the PKG_CONFIG_PATH variable." ) -endif( ) - -# check if tqtqui is usable -tde_save( CMAKE_REQUIRED_INCLUDES CMAKE_REQUIRED_LIBRARIES ) -set( CMAKE_REQUIRED_INCLUDES ${TQTQUI_INCLUDE_DIRS} ) -foreach( _dirs ${TQTQUI_LIBRARY_DIRS} ) - list( APPEND CMAKE_REQUIRED_LIBRARIES "-L${_dirs}" ) -endforeach() -list( APPEND CMAKE_REQUIRED_LIBRARIES ${TQTQUI_LIBRARIES} ) - -check_cxx_source_compiles(" - #include - int main(int argc, char **argv) { TQApplication app(argc, argv); return 0; } " - HAVE_USABLE_TQTQUI ) - -if( NOT HAVE_USABLE_TQTQUI ) - tde_message_fatal( "Unable to build a simple tqtqui test." ) -endif( ) - -tde_restore( CMAKE_REQUIRED_INCLUDES CMAKE_REQUIRED_LIBRARIES ) - - -# TQTQUI_CXX_FLAGS -foreach( _flag ${TQTQUI_CFLAGS_OTHER} ) - set( TQTQUI_CXX_FLAGS "${TQTQUI_CXX_FLAGS} ${_flag}" ) -endforeach()