Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindATSPI2.cmake +10 -0
- qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindDB2.cmake +65 -0
- qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindDirectFB.cmake +10 -0
- qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindGLESv2.cmake +90 -0
- qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindGSSAPI.cmake +58 -0
- qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindGTK3.cmake +15 -0
- qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindInterbase.cmake +61 -0
- qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindLibb2.cmake +40 -0
- qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindLibmng.cmake +38 -0
- qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindLibproxy.cmake +10 -0
- qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindLibsystemd.cmake +10 -0
- qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindLibudev.cmake +10 -0
- qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindMimer.cmake +98 -0
- qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindMtdev.cmake +10 -0
- qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindMySQL.cmake +104 -0
- qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindOracle.cmake +62 -0
- qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindPPS.cmake +24 -0
- qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindPostgreSQL.cmake +321 -0
- qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindRenderDoc.cmake +20 -0
- qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindSlog2.cmake +24 -0
- qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindTslib.cmake +10 -0
- qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindWrapAtomic.cmake +54 -0
- qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindWrapBacktrace.cmake +20 -0
- qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindWrapBrotli.cmake +107 -0
- qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindWrapBundledFreetypeConfigExtra.cmake +4 -0
- qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindWrapBundledHarfbuzzConfigExtra.cmake +4 -0
- qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindWrapBundledLibjpegConfigExtra.cmake +4 -0
- qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindWrapBundledLibpngConfigExtra.cmake +4 -0
- qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindWrapBundledPcre2ConfigExtra.cmake +4 -0
- qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindWrapBundledZLIBConfigExtra.cmake +4 -0
- qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindWrapDBus1.cmake +50 -0
- qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindWrapFreetype.cmake +14 -0
- qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindWrapHarfbuzz.cmake +14 -0
- qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindWrapJasper.cmake +21 -0
- qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindWrapJpeg.cmake +14 -0
- qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindWrapLibClang.cmake +95 -0
- qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindWrapOpenGL.cmake +66 -0
- qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindWrapOpenSSL.cmake +42 -0
- qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindWrapOpenSSLHeaders.cmake +45 -0
- qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindWrapPCRE2.cmake +14 -0
- qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindWrapPNG.cmake +14 -0
- qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindWrapResolv.cmake +53 -0
- qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindWrapRt.cmake +57 -0
- qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindWrapSystemDoubleConversion.cmake +85 -0
- qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindWrapSystemFreetype.cmake +53 -0
- qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindWrapSystemHarfbuzz.cmake +90 -0
- qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindWrapSystemJpeg.cmake +35 -0
- qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindWrapSystemMd4c.cmake +43 -0
- qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindWrapSystemPCRE2.cmake +69 -0
- qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindWrapSystemPNG.cmake +42 -0
qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindATSPI2.cmake
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (C) 2022 The Qt Company Ltd.
|
| 2 |
+
# SPDX-License-Identifier: BSD-3-Clause
|
| 3 |
+
|
| 4 |
+
find_package(PkgConfig QUIET)
|
| 5 |
+
|
| 6 |
+
pkg_check_modules(ATSPI2 IMPORTED_TARGET "atspi-2")
|
| 7 |
+
|
| 8 |
+
if (NOT TARGET PkgConfig::ATSPI2)
|
| 9 |
+
set(ATSPI2_FOUND 0)
|
| 10 |
+
endif()
|
qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindDB2.cmake
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (C) 2022 The Qt Company Ltd.
|
| 2 |
+
# SPDX-License-Identifier: BSD-3-Clause
|
| 3 |
+
|
| 4 |
+
#.rst:
|
| 5 |
+
# FindDB2
|
| 6 |
+
# ---------
|
| 7 |
+
#
|
| 8 |
+
# Try to locate the db2 client library.
|
| 9 |
+
# If found, this will define the following variables:
|
| 10 |
+
#
|
| 11 |
+
# ``DB2_FOUND``
|
| 12 |
+
# True if the db2 library is available
|
| 13 |
+
# ``DB2_INCLUDE_DIRS``
|
| 14 |
+
# The db2 include directories
|
| 15 |
+
# ``DB2_LIBRARIES``
|
| 16 |
+
# The db2 libraries for linking
|
| 17 |
+
#
|
| 18 |
+
# If ``DB2_FOUND`` is TRUE, it will also define the following
|
| 19 |
+
# imported target:
|
| 20 |
+
#
|
| 21 |
+
# ``DB2::DB2``
|
| 22 |
+
# The db2 client library
|
| 23 |
+
|
| 24 |
+
if (NOT DEFINED DB2_INCLUDE_DIR)
|
| 25 |
+
find_path(DB2_INCLUDE_DIR
|
| 26 |
+
NAMES sqlcli1.h
|
| 27 |
+
HINTS ENV DB2_HOME
|
| 28 |
+
PATH_SUFFIXES include)
|
| 29 |
+
else()
|
| 30 |
+
find_path(DB2_INCLUDE_DIR
|
| 31 |
+
NAMES sqlcli1.h
|
| 32 |
+
HINTS ${DB2_INCLUDE_DIR})
|
| 33 |
+
endif()
|
| 34 |
+
|
| 35 |
+
if (NOT DEFINED DB2_LIBRARY_DIR)
|
| 36 |
+
find_library(DB2_LIBRARY
|
| 37 |
+
NAMES db2
|
| 38 |
+
HINTS ENV DB2LIB)
|
| 39 |
+
else()
|
| 40 |
+
find_library(DB2_LIBRARY
|
| 41 |
+
NAMES db2
|
| 42 |
+
HINTS ${DB2_LIBRARY_DIR})
|
| 43 |
+
endif()
|
| 44 |
+
|
| 45 |
+
include(FindPackageHandleStandardArgs)
|
| 46 |
+
find_package_handle_standard_args(DB2 DEFAULT_MSG DB2_INCLUDE_DIR DB2_LIBRARY)
|
| 47 |
+
|
| 48 |
+
if(DB2_FOUND)
|
| 49 |
+
set(DB2_INCLUDE_DIRS "${DB2_INCLUDE_DIR}")
|
| 50 |
+
set(DB2_LIBRARIES "${DB2_LIBRARY}")
|
| 51 |
+
if(NOT TARGET DB2::DB2)
|
| 52 |
+
add_library(DB2::DB2 UNKNOWN IMPORTED)
|
| 53 |
+
set_target_properties(DB2::DB2 PROPERTIES
|
| 54 |
+
IMPORTED_LOCATION "${DB2_LIBRARIES}"
|
| 55 |
+
INTERFACE_INCLUDE_DIRECTORIES "${DB2_INCLUDE_DIRS}")
|
| 56 |
+
endif()
|
| 57 |
+
endif()
|
| 58 |
+
|
| 59 |
+
mark_as_advanced(DB2_INCLUDE_DIR DB2_LIBRARY)
|
| 60 |
+
|
| 61 |
+
include(FeatureSummary)
|
| 62 |
+
set_package_properties(DB2 PROPERTIES
|
| 63 |
+
URL "https://www.ibm.com"
|
| 64 |
+
DESCRIPTION "IBM DB2 client library")
|
| 65 |
+
|
qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindDirectFB.cmake
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (C) 2022 The Qt Company Ltd.
|
| 2 |
+
# SPDX-License-Identifier: BSD-3-Clause
|
| 3 |
+
|
| 4 |
+
find_package(PkgConfig QUIET)
|
| 5 |
+
|
| 6 |
+
pkg_check_modules(DirectFB IMPORTED_TARGET "directfb")
|
| 7 |
+
|
| 8 |
+
if (NOT TARGET PkgConfig::DirectFB)
|
| 9 |
+
set(DirectFB_FOUND 0)
|
| 10 |
+
endif()
|
qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindGLESv2.cmake
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (C) 2022 The Qt Company Ltd.
|
| 2 |
+
# SPDX-License-Identifier: BSD-3-Clause
|
| 3 |
+
|
| 4 |
+
include(CheckCXXSourceCompiles)
|
| 5 |
+
|
| 6 |
+
# No library linkage is necessary to use GLESv2 with Emscripten. The headers are also
|
| 7 |
+
# system headers, so we don't need to search for them.
|
| 8 |
+
if(EMSCRIPTEN)
|
| 9 |
+
set(HAVE_GLESv2 ON)
|
| 10 |
+
else()
|
| 11 |
+
find_library(GLESv2_LIBRARY NAMES GLESv2 OpenGLES)
|
| 12 |
+
find_path(GLESv2_INCLUDE_DIR NAMES "GLES2/gl2.h" "OpenGLES/ES2/gl.h" DOC "The OpenGLES 2 include path")
|
| 13 |
+
find_package(EGL)
|
| 14 |
+
set(_libraries "${CMAKE_REQUIRED_LIBRARIES}")
|
| 15 |
+
if(GLESv2_LIBRARY)
|
| 16 |
+
list(APPEND CMAKE_REQUIRED_LIBRARIES "${GLESv2_LIBRARY}")
|
| 17 |
+
endif ()
|
| 18 |
+
if(EGL_LIBRARY)
|
| 19 |
+
list(APPEND CMAKE_REQUIRED_LIBRARIES "${EGL_LIBRARY}")
|
| 20 |
+
endif()
|
| 21 |
+
set(_includes "${CMAKE_REQUIRED_INCLUDES}")
|
| 22 |
+
list(APPEND CMAKE_REQUIRED_INCLUDES "${GLESv2_INCLUDE_DIR}")
|
| 23 |
+
|
| 24 |
+
find_package(PlatformGraphics)
|
| 25 |
+
if(TARGET PlatformGraphics::PlatformGraphics)
|
| 26 |
+
platform_graphics_extend_check_cxx_source_required_variables()
|
| 27 |
+
endif()
|
| 28 |
+
check_cxx_source_compiles("
|
| 29 |
+
#ifdef __APPLE__
|
| 30 |
+
# include <OpenGLES/ES2/gl.h>
|
| 31 |
+
#else
|
| 32 |
+
# define GL_GLEXT_PROTOTYPES
|
| 33 |
+
# include <GLES2/gl2.h>
|
| 34 |
+
#endif
|
| 35 |
+
|
| 36 |
+
int main(int, char **) {
|
| 37 |
+
glUniform1f(1, GLfloat(1.0));
|
| 38 |
+
glClear(GL_COLOR_BUFFER_BIT);
|
| 39 |
+
}" HAVE_GLESv2)
|
| 40 |
+
|
| 41 |
+
set(CMAKE_REQUIRED_LIBRARY "${_libraries}")
|
| 42 |
+
unset(_libraries)
|
| 43 |
+
set(CMAKE_REQUIRED_INCLUDES "${_includes}")
|
| 44 |
+
unset(_includes)
|
| 45 |
+
set(package_args GLESv2_INCLUDE_DIR GLESv2_LIBRARY HAVE_GLESv2)
|
| 46 |
+
endif()
|
| 47 |
+
|
| 48 |
+
# Framework handling partially inspired by FindGLUT.cmake.
|
| 49 |
+
if(GLESv2_LIBRARY MATCHES "/([^/]+)\\.framework$")
|
| 50 |
+
# TODO: Might need to handle non .tbd suffixes, but didn't find an
|
| 51 |
+
# example like that.
|
| 52 |
+
# TODO: Might need to handle INTERFACE_INCLUDE_DIRECTORIES differently.
|
| 53 |
+
set(_library_imported_location "${GLESv2_LIBRARY}/${CMAKE_MATCH_1}.tbd")
|
| 54 |
+
if(NOT EXISTS "${_library_imported_location}")
|
| 55 |
+
set(_library_imported_location "")
|
| 56 |
+
endif()
|
| 57 |
+
else()
|
| 58 |
+
set(_library_imported_location "${GLESv2_LIBRARY}")
|
| 59 |
+
endif()
|
| 60 |
+
set(GLESv2_LIBRARY "${_library_imported_location}")
|
| 61 |
+
|
| 62 |
+
list(APPEND package_args HAVE_GLESv2)
|
| 63 |
+
|
| 64 |
+
include(FindPackageHandleStandardArgs)
|
| 65 |
+
find_package_handle_standard_args(GLESv2 DEFAULT_MSG ${package_args})
|
| 66 |
+
|
| 67 |
+
mark_as_advanced(${package_args})
|
| 68 |
+
|
| 69 |
+
if(GLESv2_FOUND AND NOT TARGET GLESv2::GLESv2)
|
| 70 |
+
if(EMSCRIPTEN OR IOS)
|
| 71 |
+
add_library(GLESv2::GLESv2 INTERFACE IMPORTED)
|
| 72 |
+
if(IOS)
|
| 73 |
+
# For simulator_and_device builds we can't specify the full library path, because
|
| 74 |
+
# it's specific to either the device or the simulator. Resort to passing a link
|
| 75 |
+
# flag instead.
|
| 76 |
+
target_link_libraries(GLESv2::GLESv2 INTERFACE "-framework OpenGLES")
|
| 77 |
+
endif()
|
| 78 |
+
else()
|
| 79 |
+
add_library(GLESv2::GLESv2 UNKNOWN IMPORTED)
|
| 80 |
+
set_target_properties(GLESv2::GLESv2 PROPERTIES
|
| 81 |
+
IMPORTED_LOCATION "${GLESv2_LIBRARY}"
|
| 82 |
+
INTERFACE_INCLUDE_DIRECTORIES "${GLESv2_INCLUDE_DIR}")
|
| 83 |
+
|
| 84 |
+
if(TARGET EGL::EGL)
|
| 85 |
+
target_link_libraries(GLESv2::GLESv2 INTERFACE "EGL::EGL")
|
| 86 |
+
elseif(EGL_LIBRARY)
|
| 87 |
+
target_link_libraries(GLESv2::GLESv2 INTERFACE "${EGL_LIBRARY}")
|
| 88 |
+
endif()
|
| 89 |
+
endif()
|
| 90 |
+
endif()
|
qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindGSSAPI.cmake
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (C) 2022 The Qt Company Ltd.
|
| 2 |
+
# SPDX-License-Identifier: BSD-3-Clause
|
| 3 |
+
|
| 4 |
+
find_package(PkgConfig QUIET)
|
| 5 |
+
pkg_check_modules(PC_GSSAPI QUIET "krb5-gssapi")
|
| 6 |
+
if (NOT PC_GSSAPI_FOUND)
|
| 7 |
+
pkg_check_modules(PC_GSSAPI QUIET "mit-krb5-gssapi")
|
| 8 |
+
endif()
|
| 9 |
+
|
| 10 |
+
find_path(GSSAPI_INCLUDE_DIRS
|
| 11 |
+
NAMES gssapi/gssapi.h
|
| 12 |
+
HINTS ${PC_GSSAPI_INCLUDEDIR}
|
| 13 |
+
)
|
| 14 |
+
|
| 15 |
+
# On macOS, vcpkg opts for finding frameworks LAST. This is generally fine;
|
| 16 |
+
# however, in the case of GSSAPI, `usr/lib/libgssapi_krb5.tbd` which is a
|
| 17 |
+
# symlink to `Kerberos.framework` misses a few symols, e.g.,
|
| 18 |
+
# `___gss_c_nt_hostbased_service_oid_desc`, and it causes build failure.
|
| 19 |
+
# So, we need to make sure that we find `GSS.framework`.
|
| 20 |
+
set(gssapi_library_names
|
| 21 |
+
GSS # framework
|
| 22 |
+
gss # solaris
|
| 23 |
+
gssapi # FreeBSD
|
| 24 |
+
gssapi_krb5
|
| 25 |
+
)
|
| 26 |
+
if(APPLE)
|
| 27 |
+
list(REMOVE_ITEM gssapi_library_names "gssapi_krb5")
|
| 28 |
+
endif()
|
| 29 |
+
|
| 30 |
+
find_library(GSSAPI_LIBRARIES
|
| 31 |
+
NAMES
|
| 32 |
+
${gssapi_library_names}
|
| 33 |
+
HINTS ${PC_GSSAPI_LIBDIR}
|
| 34 |
+
)
|
| 35 |
+
|
| 36 |
+
include(FindPackageHandleStandardArgs)
|
| 37 |
+
find_package_handle_standard_args(GSSAPI DEFAULT_MSG GSSAPI_LIBRARIES GSSAPI_INCLUDE_DIRS)
|
| 38 |
+
|
| 39 |
+
if(GSSAPI_FOUND AND NOT TARGET GSSAPI::GSSAPI)
|
| 40 |
+
if(GSSAPI_LIBRARIES MATCHES "/([^/]+)\\.framework$")
|
| 41 |
+
add_library(GSSAPI::GSSAPI INTERFACE IMPORTED)
|
| 42 |
+
set_target_properties(GSSAPI::GSSAPI PROPERTIES
|
| 43 |
+
INTERFACE_LINK_LIBRARIES "${GSSAPI_LIBRARIES}")
|
| 44 |
+
else()
|
| 45 |
+
add_library(GSSAPI::GSSAPI UNKNOWN IMPORTED)
|
| 46 |
+
set_target_properties(GSSAPI::GSSAPI PROPERTIES
|
| 47 |
+
IMPORTED_LOCATION "${GSSAPI_LIBRARIES}")
|
| 48 |
+
endif()
|
| 49 |
+
|
| 50 |
+
set_target_properties(GSSAPI::GSSAPI PROPERTIES
|
| 51 |
+
INTERFACE_INCLUDE_DIRECTORIES "${GSSAPI_INCLUDE_DIRS}")
|
| 52 |
+
endif()
|
| 53 |
+
|
| 54 |
+
mark_as_advanced(GSSAPI_INCLUDE_DIRS GSSAPI_LIBRARIES)
|
| 55 |
+
|
| 56 |
+
include(FeatureSummary)
|
| 57 |
+
set_package_properties(GSSAPI PROPERTIES
|
| 58 |
+
DESCRIPTION "Generic Security Services Application Program Interface")
|
qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindGTK3.cmake
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (C) 2022 The Qt Company Ltd.
|
| 2 |
+
# SPDX-License-Identifier: BSD-3-Clause
|
| 3 |
+
|
| 4 |
+
find_package(PkgConfig QUIET)
|
| 5 |
+
|
| 6 |
+
set(__gtk3_required_version "${${CMAKE_FIND_PACKAGE_NAME}_FIND_VERSION}")
|
| 7 |
+
if(__gtk3_required_version)
|
| 8 |
+
set(__gtk3_required_version " >= ${__gtk3_required_version}")
|
| 9 |
+
endif()
|
| 10 |
+
pkg_check_modules(GTK3 IMPORTED_TARGET "gtk+-3.0${__gtk3_required_version}")
|
| 11 |
+
|
| 12 |
+
if (NOT TARGET PkgConfig::GTK3)
|
| 13 |
+
set(GTK3_FOUND 0)
|
| 14 |
+
endif()
|
| 15 |
+
unset(__gtk3_required_version)
|
qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindInterbase.cmake
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (C) 2022 The Qt Company Ltd.
|
| 2 |
+
# SPDX-License-Identifier: BSD-3-Clause
|
| 3 |
+
|
| 4 |
+
#.rst:
|
| 5 |
+
# FindInterbase
|
| 6 |
+
# ---------
|
| 7 |
+
#
|
| 8 |
+
# Try to locate the Interbase client library.
|
| 9 |
+
# If found, this will define the following variables:
|
| 10 |
+
#
|
| 11 |
+
# ``Interbase_FOUND``
|
| 12 |
+
# True if the Interbase library is available
|
| 13 |
+
# ``Interbase_INCLUDE_DIR``
|
| 14 |
+
# The Interbase include directories
|
| 15 |
+
# ``Interbase_LIBRARY``
|
| 16 |
+
# The Interbase libraries for linking
|
| 17 |
+
#
|
| 18 |
+
# If ``Interbase_FOUND`` is TRUE, it will also define the following
|
| 19 |
+
# imported target:
|
| 20 |
+
#
|
| 21 |
+
# ``Interbase::Interbase``
|
| 22 |
+
# The Interbase client library
|
| 23 |
+
|
| 24 |
+
if(NOT DEFINED Interbase_ROOT)
|
| 25 |
+
if(DEFINED ENV{Interbase_ROOT})
|
| 26 |
+
set(Interbase_ROOT "$ENV{Interbase_ROOT}")
|
| 27 |
+
endif()
|
| 28 |
+
endif()
|
| 29 |
+
|
| 30 |
+
find_path(Interbase_INCLUDE_DIR
|
| 31 |
+
NAMES ibase.h
|
| 32 |
+
HINTS "${Interbase_INCLUDEDIR}" "${Interbase_ROOT}/include"
|
| 33 |
+
PATH_SUFFIXES firebird
|
| 34 |
+
)
|
| 35 |
+
|
| 36 |
+
find_library(Interbase_LIBRARY
|
| 37 |
+
NAMES firebase_ms fbclient_ms fbclient gds
|
| 38 |
+
HINTS "${Interbase_LIBDIR}" "${Interbase_ROOT}/lib"
|
| 39 |
+
)
|
| 40 |
+
|
| 41 |
+
include(FindPackageHandleStandardArgs)
|
| 42 |
+
find_package_handle_standard_args(Interbase DEFAULT_MSG Interbase_LIBRARY Interbase_INCLUDE_DIR)
|
| 43 |
+
|
| 44 |
+
if(Interbase_FOUND)
|
| 45 |
+
set(Interbase_INCLUDE_DIRS "${Interbase_INCLUDE_DIR}")
|
| 46 |
+
set(Interbase_LIBRARIES "${Interbase_LIBRARY}")
|
| 47 |
+
if(NOT TARGET Interbase::Interbase)
|
| 48 |
+
add_library(Interbase::Interbase UNKNOWN IMPORTED)
|
| 49 |
+
set_target_properties(Interbase::Interbase PROPERTIES
|
| 50 |
+
IMPORTED_LOCATION "${Interbase_LIBRARIES}"
|
| 51 |
+
INTERFACE_INCLUDE_DIRECTORIES "${Interbase_INCLUDE_DIRS};")
|
| 52 |
+
endif()
|
| 53 |
+
endif()
|
| 54 |
+
|
| 55 |
+
mark_as_advanced(Interbase_INCLUDE_DIR Interbase_LIBRARY)
|
| 56 |
+
|
| 57 |
+
include(FeatureSummary)
|
| 58 |
+
set_package_properties(Interbase PROPERTIES
|
| 59 |
+
URL "https://www.embarcadero.com/products/interbase"
|
| 60 |
+
DESCRIPTION "Interbase client library")
|
| 61 |
+
|
qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindLibb2.cmake
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (C) 2022 The Qt Company Ltd.
|
| 2 |
+
# SPDX-License-Identifier: BSD-3-Clause
|
| 3 |
+
|
| 4 |
+
# Blake2 contains a reference implementation, libb2 is a more efficient
|
| 5 |
+
# implementation of a subset of Blake2 functions and should be preferred.
|
| 6 |
+
# This Find module only searches for libb2 for that reason.
|
| 7 |
+
|
| 8 |
+
if(TARGET Libb2::Libb2)
|
| 9 |
+
set(Libb2_FOUND TRUE)
|
| 10 |
+
return()
|
| 11 |
+
endif()
|
| 12 |
+
|
| 13 |
+
find_package(PkgConfig QUIET)
|
| 14 |
+
|
| 15 |
+
if(PkgConfig_FOUND)
|
| 16 |
+
pkg_check_modules(Libb2 IMPORTED_TARGET "libb2")
|
| 17 |
+
|
| 18 |
+
if (TARGET PkgConfig::Libb2)
|
| 19 |
+
add_library(Libb2::Libb2 INTERFACE IMPORTED)
|
| 20 |
+
target_link_libraries(Libb2::Libb2 INTERFACE PkgConfig::Libb2)
|
| 21 |
+
set(Libb2_FOUND TRUE)
|
| 22 |
+
endif()
|
| 23 |
+
else()
|
| 24 |
+
find_path(LIBB2_INCLUDE_DIR NAMES blake2.h)
|
| 25 |
+
find_library(LIBB2_LIBRARY NAMES b2)
|
| 26 |
+
|
| 27 |
+
if(LIBB2_LIBRARY AND LIBB2_INCLUDE_DIR)
|
| 28 |
+
add_library(Libb2::Libb2 UNKNOWN IMPORTED)
|
| 29 |
+
set_target_properties(Libb2::Libb2 PROPERTIES
|
| 30 |
+
IMPORTED_LOCATION ${LIBB2_LIBRARY}
|
| 31 |
+
INTERFACE_INCLUDE_DIRECTORIES ${LIBB2_INCLUDE_DIR}
|
| 32 |
+
)
|
| 33 |
+
endif()
|
| 34 |
+
|
| 35 |
+
include(FindPackageHandleStandardArgs)
|
| 36 |
+
find_package_handle_standard_args(Libb2 REQUIRED_VARS
|
| 37 |
+
LIBB2_LIBRARY
|
| 38 |
+
LIBB2_INCLUDE_DIR
|
| 39 |
+
)
|
| 40 |
+
endif()
|
qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindLibmng.cmake
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (C) 2022 The Qt Company Ltd.
|
| 2 |
+
# SPDX-License-Identifier: BSD-3-Clause
|
| 3 |
+
|
| 4 |
+
if(TARGET Libmng::Libmng)
|
| 5 |
+
set(Libmng_FOUND TRUE)
|
| 6 |
+
return()
|
| 7 |
+
endif()
|
| 8 |
+
|
| 9 |
+
find_package(PkgConfig QUIET)
|
| 10 |
+
|
| 11 |
+
if(PkgConfig_FOUND)
|
| 12 |
+
pkg_check_modules(Libmng IMPORTED_TARGET libmng)
|
| 13 |
+
|
| 14 |
+
if(TARGET PkgConfig::Libmng)
|
| 15 |
+
add_library(Libmng::Libmng INTERFACE IMPORTED)
|
| 16 |
+
target_link_libraries(Libmng::Libmng INTERFACE PkgConfig::Libmng)
|
| 17 |
+
set(Libmng_FOUND TRUE)
|
| 18 |
+
endif()
|
| 19 |
+
endif()
|
| 20 |
+
|
| 21 |
+
if(NOT TARGET Libmng::Libmng)
|
| 22 |
+
find_library(LIBMNG_LIBRARY NAMES mng)
|
| 23 |
+
find_path(LIBMNG_INCLUDE_DIR libmng.h)
|
| 24 |
+
|
| 25 |
+
if(LIBMNG_LIBRARY AND LIBMNG_INCLUDE_DIR)
|
| 26 |
+
add_library(Libmng::Libmng UNKNOWN IMPORTED)
|
| 27 |
+
set_target_properties(Libmng::Libmng PROPERTIES
|
| 28 |
+
IMPORTED_LOCATION ${LIBMNG_LIBRARY}
|
| 29 |
+
INTERFACE_INCLUDE_DIRECTORIES ${LIBMNG_INCLUDE_DIR}
|
| 30 |
+
)
|
| 31 |
+
endif()
|
| 32 |
+
|
| 33 |
+
include(FindPackageHandleStandardArgs)
|
| 34 |
+
find_package_handle_standard_args(Libmng REQUIRED_VARS
|
| 35 |
+
LIBMNG_LIBRARY
|
| 36 |
+
LIBMNG_INCLUDE_DIR
|
| 37 |
+
)
|
| 38 |
+
endif()
|
qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindLibproxy.cmake
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (C) 2022 The Qt Company Ltd.
|
| 2 |
+
# SPDX-License-Identifier: BSD-3-Clause
|
| 3 |
+
|
| 4 |
+
find_package(PkgConfig QUIET)
|
| 5 |
+
|
| 6 |
+
pkg_check_modules(Libproxy IMPORTED_TARGET "libproxy-1.0")
|
| 7 |
+
|
| 8 |
+
if (NOT TARGET PkgConfig::Libproxy)
|
| 9 |
+
set(Libproxy_FOUND 0)
|
| 10 |
+
endif()
|
qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindLibsystemd.cmake
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (C) 2022 The Qt Company Ltd.
|
| 2 |
+
# SPDX-License-Identifier: BSD-3-Clause
|
| 3 |
+
|
| 4 |
+
find_package(PkgConfig QUIET)
|
| 5 |
+
|
| 6 |
+
pkg_check_modules(Libsystemd IMPORTED_TARGET "libsystemd")
|
| 7 |
+
|
| 8 |
+
if (NOT TARGET PkgConfig::Libsystemd)
|
| 9 |
+
set(Libsystemd_FOUND 0)
|
| 10 |
+
endif()
|
qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindLibudev.cmake
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (C) 2022 The Qt Company Ltd.
|
| 2 |
+
# SPDX-License-Identifier: BSD-3-Clause
|
| 3 |
+
|
| 4 |
+
find_package(PkgConfig QUIET)
|
| 5 |
+
|
| 6 |
+
pkg_check_modules(Libudev IMPORTED_TARGET "libudev")
|
| 7 |
+
|
| 8 |
+
if (NOT TARGET PkgConfig::Libudev)
|
| 9 |
+
set(Libudev_FOUND 0)
|
| 10 |
+
endif()
|
qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindMimer.cmake
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (C) 2022 The Qt Company Ltd.
|
| 2 |
+
# Copyright (C) 2022 Mimer Information Technology
|
| 3 |
+
# SPDX-License-Identifier: BSD-3-Clause
|
| 4 |
+
|
| 5 |
+
# FindMimer
|
| 6 |
+
# ---------
|
| 7 |
+
# Try to locate the Mimer SQL client library
|
| 8 |
+
if(NOT DEFINED MimerSQL_ROOT)
|
| 9 |
+
if(DEFINED ENV{MIMERSQL_DEV_ROOT})
|
| 10 |
+
set(MimerSQL_ROOT "$ENV{MIMERSQL_DEV_ROOT}")
|
| 11 |
+
endif()
|
| 12 |
+
endif()
|
| 13 |
+
|
| 14 |
+
if(NOT DEFINED MimerSQL_ROOT)
|
| 15 |
+
find_package(PkgConfig QUIET)
|
| 16 |
+
endif()
|
| 17 |
+
if(PkgConfig_FOUND AND NOT DEFINED MimerSQL_ROOT)
|
| 18 |
+
pkg_check_modules(PC_Mimer QUIET mimcontrol)
|
| 19 |
+
set(MimerSQL_include_dir_hints "${PC_MimerSQL_INCLUDEDIR}")
|
| 20 |
+
set(MimerSQL_library_hints "${PC_MimerSQL_LIBDIR}")
|
| 21 |
+
else()
|
| 22 |
+
if(DEFINED MimerSQL_ROOT)
|
| 23 |
+
if(WIN32)
|
| 24 |
+
set(MimerSQL_include_dir_hints "${MimerSQL_ROOT}\\include")
|
| 25 |
+
if(CMAKE_SYSTEM_PROCESSOR MATCHES "^(x86|X86)$")
|
| 26 |
+
set(MimerSQL_library_hints "${MimerSQL_ROOT}\\lib\\x86")
|
| 27 |
+
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(amd64|AMD64)$")
|
| 28 |
+
set(MimerSQL_library_hints "${MimerSQL_ROOT}\\lib\\amd64")
|
| 29 |
+
else()
|
| 30 |
+
set(MimerSQL_library_hints "")
|
| 31 |
+
endif()
|
| 32 |
+
else()
|
| 33 |
+
set(MimerSQL_include_dir_hints "${MimerSQL_ROOT}/include")
|
| 34 |
+
set(MimerSQL_library_hints "${MimerSQL_ROOT}/lib")
|
| 35 |
+
endif()
|
| 36 |
+
else()
|
| 37 |
+
if(WIN32)
|
| 38 |
+
set(MimerSQL_include_dir_hints "C:\\MimerSQLDev\\include")
|
| 39 |
+
if(CMAKE_SYSTEM_PROCESSOR MATCHES "^(x86|X86)$")
|
| 40 |
+
set(MimerSQL_library_hints "C:\\MimerSQLDev\\lib\\x86")
|
| 41 |
+
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(amd64|AMD64)$")
|
| 42 |
+
set(MimerSQL_library_hints "C:\\MimerSQLDev\\lib\\amd64")
|
| 43 |
+
else()
|
| 44 |
+
set(MimerSQL_library_hints "")
|
| 45 |
+
endif()
|
| 46 |
+
elseif(APPLE AND ${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
| 47 |
+
set(MimerSQL_library_hints "/usr/local/lib")
|
| 48 |
+
set(MimerSQL_include_dir_hints "/usr/local/include")
|
| 49 |
+
else()
|
| 50 |
+
set(MimerSQL_include_dir_hints "")
|
| 51 |
+
set(MimerSQL_library_hints "")
|
| 52 |
+
endif()
|
| 53 |
+
endif()
|
| 54 |
+
endif()
|
| 55 |
+
|
| 56 |
+
find_path(Mimer_INCLUDE_DIR
|
| 57 |
+
NAMES mimerapi.h
|
| 58 |
+
HINTS ${MimerSQL_include_dir_hints})
|
| 59 |
+
|
| 60 |
+
if(WIN32)
|
| 61 |
+
if(CMAKE_SYSTEM_PROCESSOR MATCHES "^(x86|X86)$")
|
| 62 |
+
set(MIMER_LIBS_NAMES mimapi32)
|
| 63 |
+
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(amd64|AMD64)$")
|
| 64 |
+
set(MIMER_LIBS_NAMES mimapi64)
|
| 65 |
+
endif()
|
| 66 |
+
else()
|
| 67 |
+
set(MIMER_LIBS_NAMES mimerapi)
|
| 68 |
+
endif()
|
| 69 |
+
|
| 70 |
+
find_library(Mimer_LIBRARIES
|
| 71 |
+
NAMES ${MIMER_LIBS_NAMES}
|
| 72 |
+
HINTS ${MimerSQL_library_hints})
|
| 73 |
+
|
| 74 |
+
include(FindPackageHandleStandardArgs)
|
| 75 |
+
|
| 76 |
+
find_package_handle_standard_args(Mimer
|
| 77 |
+
REQUIRED_VARS Mimer_LIBRARIES Mimer_INCLUDE_DIR)
|
| 78 |
+
|
| 79 |
+
|
| 80 |
+
|
| 81 |
+
# Now try to get the include and library path.
|
| 82 |
+
if(Mimer_FOUND)
|
| 83 |
+
set(Mimer_INCLUDE_DIRS ${Mimer_INCLUDE_DIR})
|
| 84 |
+
set(Mimer_LIBRARY_DIRS ${Mimer_LIBRARIES})
|
| 85 |
+
if (NOT TARGET MimerSQL::MimerSQL)
|
| 86 |
+
add_library(MimerSQL::MimerSQL UNKNOWN IMPORTED)
|
| 87 |
+
set_target_properties(MimerSQL::MimerSQL PROPERTIES
|
| 88 |
+
IMPORTED_LOCATION "${Mimer_LIBRARY_DIRS}"
|
| 89 |
+
INTERFACE_INCLUDE_DIRECTORIES "${Mimer_INCLUDE_DIRS}")
|
| 90 |
+
endif ()
|
| 91 |
+
endif()
|
| 92 |
+
|
| 93 |
+
mark_as_advanced(Mimer_INCLUDE_DIR Mimer_LIBRARIES)
|
| 94 |
+
|
| 95 |
+
include(FeatureSummary)
|
| 96 |
+
set_package_properties(MimerSQL PROPERTIES
|
| 97 |
+
URL "https://www.mimer.com"
|
| 98 |
+
DESCRIPTION "Mimer client library")
|
qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindMtdev.cmake
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (C) 2022 The Qt Company Ltd.
|
| 2 |
+
# SPDX-License-Identifier: BSD-3-Clause
|
| 3 |
+
|
| 4 |
+
find_package(PkgConfig QUIET)
|
| 5 |
+
|
| 6 |
+
pkg_check_modules(Mtdev IMPORTED_TARGET "mtdev")
|
| 7 |
+
|
| 8 |
+
if (NOT TARGET PkgConfig::Mtdev)
|
| 9 |
+
set(Mtdev_FOUND 0)
|
| 10 |
+
endif()
|
qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindMySQL.cmake
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (C) 2022 The Qt Company Ltd.
|
| 2 |
+
# SPDX-License-Identifier: BSD-3-Clause
|
| 3 |
+
|
| 4 |
+
#.rst:
|
| 5 |
+
# FindMySQL
|
| 6 |
+
# ---------
|
| 7 |
+
#
|
| 8 |
+
# Try to locate the mysql client library.
|
| 9 |
+
#
|
| 10 |
+
# By default, pkg-config is used, if available.
|
| 11 |
+
# If pkg-config is not available or if you want to disable it, set the ``MySQL_ROOT`` variable.
|
| 12 |
+
# The following variables can be set to control the behavior of this find module.
|
| 13 |
+
#
|
| 14 |
+
# ``MySQL_ROOT``
|
| 15 |
+
# The root directory of the mysql client library's installation.
|
| 16 |
+
# ``MySQL_INCLUDE_DIR``
|
| 17 |
+
# The directory containing the include files of the mysql client library.
|
| 18 |
+
# If not set, the directory is detected within ``MySQL_ROOT`` using find_path.
|
| 19 |
+
# ``MySQL_LIBRARY_DIR``
|
| 20 |
+
# The directory containing the binaries of the mysql client library.
|
| 21 |
+
# This is used to detect ``MySQL_LIBRARY`` and passed as HINT to find_library.
|
| 22 |
+
# ``MySQL_LIBRARY``
|
| 23 |
+
# The file path to the mysql client library.
|
| 24 |
+
# ``MySQL_LIBRARY_DEBUG``
|
| 25 |
+
# The file path to the mysql client library for the DEBUG configuration.
|
| 26 |
+
#
|
| 27 |
+
# If the mysql client library is found, this will define the following variables:
|
| 28 |
+
#
|
| 29 |
+
# ``MySQL_FOUND``
|
| 30 |
+
# True if the mysql library is available
|
| 31 |
+
# ``MySQL_INCLUDE_DIRS``
|
| 32 |
+
# The mysql include directories
|
| 33 |
+
# ``MySQL_LIBRARIES``
|
| 34 |
+
# The mysql libraries for linking
|
| 35 |
+
#
|
| 36 |
+
# If ``MySQL_FOUND`` is TRUE, it will also define the following
|
| 37 |
+
# imported target:
|
| 38 |
+
#
|
| 39 |
+
# ``MySQL::MySQL``
|
| 40 |
+
# The mysql client library
|
| 41 |
+
|
| 42 |
+
if(NOT DEFINED MySQL_ROOT)
|
| 43 |
+
if(DEFINED ENV{MySQL_ROOT})
|
| 44 |
+
set(MySQL_ROOT "$ENV{MySQL_ROOT}")
|
| 45 |
+
else()
|
| 46 |
+
find_package(PkgConfig QUIET)
|
| 47 |
+
endif()
|
| 48 |
+
endif()
|
| 49 |
+
if(PkgConfig_FOUND AND NOT DEFINED MySQL_ROOT)
|
| 50 |
+
pkg_check_modules(PC_MySQL QUIET "mysqlclient")
|
| 51 |
+
set(MySQL_include_dir_hints ${PC_MySQL_INCLUDEDIR})
|
| 52 |
+
set(MySQL_library_hints ${PC_MySQL_LIBDIR})
|
| 53 |
+
set(MySQL_library_hints_debug "")
|
| 54 |
+
else()
|
| 55 |
+
set(MySQL_include_dir_hints "${MySQL_ROOT}" "${MySQL_ROOT}/include")
|
| 56 |
+
if(NOT DEFINED MySQL_LIBRARY_DIR)
|
| 57 |
+
set(MySQL_LIBRARY_DIR "${MySQL_ROOT}/lib")
|
| 58 |
+
endif()
|
| 59 |
+
set(MySQL_library_hints "${MySQL_LIBRARY_DIR}")
|
| 60 |
+
set(MySQL_library_hints_debug "${MySQL_LIBRARY_DIR}/debug")
|
| 61 |
+
endif()
|
| 62 |
+
|
| 63 |
+
find_path(MySQL_INCLUDE_DIR
|
| 64 |
+
NAMES mysql.h
|
| 65 |
+
HINTS "${MySQL_include_dir_hints}"
|
| 66 |
+
PATH_SUFFIXES mysql mariadb)
|
| 67 |
+
|
| 68 |
+
find_library(MySQL_LIBRARY
|
| 69 |
+
NO_PACKAGE_ROOT_PATH
|
| 70 |
+
NAMES libmysql mysql mysqlclient libmariadb mariadb
|
| 71 |
+
HINTS ${MySQL_library_hints})
|
| 72 |
+
|
| 73 |
+
if(MySQL_library_hints_debug)
|
| 74 |
+
find_library(MySQL_LIBRARY_DEBUG
|
| 75 |
+
NO_PACKAGE_ROOT_PATH
|
| 76 |
+
NAMES libmysql mysql mysqlclient libmariadb mariadb
|
| 77 |
+
HINTS ${MySQL_library_hints_debug})
|
| 78 |
+
endif()
|
| 79 |
+
|
| 80 |
+
include(FindPackageHandleStandardArgs)
|
| 81 |
+
find_package_handle_standard_args(MySQL DEFAULT_MSG MySQL_LIBRARY MySQL_INCLUDE_DIR)
|
| 82 |
+
|
| 83 |
+
if(MySQL_FOUND)
|
| 84 |
+
set(MySQL_INCLUDE_DIRS "${MySQL_INCLUDE_DIR}")
|
| 85 |
+
set(MySQL_LIBRARIES "${MySQL_LIBRARY}")
|
| 86 |
+
if(NOT TARGET MySQL::MySQL)
|
| 87 |
+
add_library(MySQL::MySQL UNKNOWN IMPORTED)
|
| 88 |
+
set_target_properties(MySQL::MySQL PROPERTIES
|
| 89 |
+
IMPORTED_LOCATION "${MySQL_LIBRARIES}"
|
| 90 |
+
INTERFACE_INCLUDE_DIRECTORIES "${MySQL_INCLUDE_DIRS}")
|
| 91 |
+
if(MySQL_LIBRARY_DEBUG)
|
| 92 |
+
set_target_properties(MySQL::MySQL PROPERTIES
|
| 93 |
+
IMPORTED_LOCATION_DEBUG "${MySQL_LIBRARY_DEBUG}")
|
| 94 |
+
endif()
|
| 95 |
+
endif()
|
| 96 |
+
endif()
|
| 97 |
+
|
| 98 |
+
mark_as_advanced(MySQL_INCLUDE_DIR MySQL_LIBRARY)
|
| 99 |
+
|
| 100 |
+
include(FeatureSummary)
|
| 101 |
+
set_package_properties(MySQL PROPERTIES
|
| 102 |
+
URL "https://www.mysql.com"
|
| 103 |
+
DESCRIPTION "MySQL client library")
|
| 104 |
+
|
qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindOracle.cmake
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (C) 2022 The Qt Company Ltd.
|
| 2 |
+
# SPDX-License-Identifier: BSD-3-Clause
|
| 3 |
+
|
| 4 |
+
#.rst:
|
| 5 |
+
# FindOracle
|
| 6 |
+
# ---------
|
| 7 |
+
#
|
| 8 |
+
# Try to locate the oracle client library.
|
| 9 |
+
# If found, this will define the following variables:
|
| 10 |
+
#
|
| 11 |
+
# ``Oracle_FOUND``
|
| 12 |
+
# True if the oracle library is available
|
| 13 |
+
# ``Oracle_INCLUDE_DIRS``
|
| 14 |
+
# The oracle include directories
|
| 15 |
+
# ``Oracle_LIBRARIES``
|
| 16 |
+
# The oracle libraries for linking
|
| 17 |
+
#
|
| 18 |
+
# If ``Oracle_FOUND`` is TRUE, it will also define the following
|
| 19 |
+
# imported target:
|
| 20 |
+
#
|
| 21 |
+
# ``Oracle::Oracle``
|
| 22 |
+
# The oracle instant client library
|
| 23 |
+
|
| 24 |
+
if(NOT DEFINED Oracle_ROOT)
|
| 25 |
+
if(DEFINED ENV{Oracle_ROOT})
|
| 26 |
+
set(Oracle_ROOT "$ENV{Oracle_ROOT}")
|
| 27 |
+
endif()
|
| 28 |
+
endif()
|
| 29 |
+
|
| 30 |
+
find_path(Oracle_INCLUDE_DIR
|
| 31 |
+
NAMES oci.h
|
| 32 |
+
HINTS ${Oracle_INCLUDE_DIR} "${Oracle_ROOT}" "${Oracle_ROOT}/include" "${Oracle_ROOT}/sdk/include"
|
| 33 |
+
)
|
| 34 |
+
|
| 35 |
+
set(ORACLE_OCI_NAMES clntsh ociei oraociei12 oci)
|
| 36 |
+
|
| 37 |
+
find_library(Oracle_LIBRARY
|
| 38 |
+
NAMES ${ORACLE_OCI_NAMES}
|
| 39 |
+
HINTS ${Oracle_LIBRARY_DIR} "${Oracle_ROOT}" "${Oracle_ROOT}/lib" "${Oracle_ROOT}/sdk/lib"
|
| 40 |
+
PATH_SUFFIXES msvc
|
| 41 |
+
)
|
| 42 |
+
|
| 43 |
+
include(FindPackageHandleStandardArgs)
|
| 44 |
+
find_package_handle_standard_args(Oracle DEFAULT_MSG Oracle_LIBRARY Oracle_INCLUDE_DIR)
|
| 45 |
+
|
| 46 |
+
if(Oracle_FOUND)
|
| 47 |
+
set(Oracle_INCLUDE_DIRS "${Oracle_INCLUDE_DIR}")
|
| 48 |
+
set(Oracle_LIBRARIES "${Oracle_LIBRARY}")
|
| 49 |
+
if(NOT TARGET Oracle::OCI)
|
| 50 |
+
add_library(Oracle::OCI UNKNOWN IMPORTED)
|
| 51 |
+
set_target_properties(Oracle::OCI PROPERTIES
|
| 52 |
+
IMPORTED_LOCATION "${Oracle_LIBRARIES}"
|
| 53 |
+
INTERFACE_INCLUDE_DIRECTORIES "${Oracle_INCLUDE_DIRS}")
|
| 54 |
+
endif()
|
| 55 |
+
endif()
|
| 56 |
+
|
| 57 |
+
mark_as_advanced(Oracle_INCLUDE_DIR Oracle_LIBRARY)
|
| 58 |
+
|
| 59 |
+
include(FeatureSummary)
|
| 60 |
+
set_package_properties(Oracle PROPERTIES
|
| 61 |
+
URL "https://www.oracle.com"
|
| 62 |
+
DESCRIPTION "Oracle client library")
|
qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindPPS.cmake
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (C) 2022 The Qt Company Ltd.
|
| 2 |
+
# SPDX-License-Identifier: BSD-3-Clause
|
| 3 |
+
|
| 4 |
+
# Find the PPS library
|
| 5 |
+
|
| 6 |
+
# Will make the target PPS::PPS available when found.
|
| 7 |
+
if(TARGET PPS::PPS)
|
| 8 |
+
set(PPS_FOUND TRUE)
|
| 9 |
+
return()
|
| 10 |
+
endif()
|
| 11 |
+
|
| 12 |
+
find_library(PPS_LIBRARY NAMES "pps")
|
| 13 |
+
find_path(PPS_INCLUDE_DIR NAMES "sys/pps.h" DOC "The PPS Include path")
|
| 14 |
+
|
| 15 |
+
include(FindPackageHandleStandardArgs)
|
| 16 |
+
find_package_handle_standard_args(PPS DEFAULT_MSG PPS_INCLUDE_DIR PPS_LIBRARY)
|
| 17 |
+
|
| 18 |
+
mark_as_advanced(PPS_INCLUDE_DIR PPS_LIBRARY)
|
| 19 |
+
|
| 20 |
+
if(PPS_FOUND)
|
| 21 |
+
add_library(PPS::PPS INTERFACE IMPORTED)
|
| 22 |
+
target_link_libraries(PPS::PPS INTERFACE "${PPS_LIBRARY}")
|
| 23 |
+
target_include_directories(PPS::PPS INTERFACE "${PPS_INCLUDE_DIR}")
|
| 24 |
+
endif()
|
qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindPostgreSQL.cmake
ADDED
|
@@ -0,0 +1,321 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (C) 2000-2022 Kitware, Inc. and Contributors.
|
| 2 |
+
# Copyright (C) 2022 The Qt Company Ltd.
|
| 3 |
+
# SPDX-License-Identifier: BSD-3-Clause
|
| 4 |
+
|
| 5 |
+
#[=======================================================================[.rst:
|
| 6 |
+
FindPostgreSQL
|
| 7 |
+
--------------
|
| 8 |
+
|
| 9 |
+
Find the PostgreSQL installation.
|
| 10 |
+
|
| 11 |
+
IMPORTED Targets
|
| 12 |
+
^^^^^^^^^^^^^^^^
|
| 13 |
+
|
| 14 |
+
.. versionadded:: 3.14
|
| 15 |
+
|
| 16 |
+
This module defines :prop_tgt:`IMPORTED` target ``PostgreSQL::PostgreSQL``
|
| 17 |
+
if PostgreSQL has been found.
|
| 18 |
+
|
| 19 |
+
Result Variables
|
| 20 |
+
^^^^^^^^^^^^^^^^
|
| 21 |
+
|
| 22 |
+
This module will set the following variables in your project:
|
| 23 |
+
|
| 24 |
+
``PostgreSQL_FOUND``
|
| 25 |
+
True if PostgreSQL is found.
|
| 26 |
+
``PostgreSQL_LIBRARIES``
|
| 27 |
+
the PostgreSQL libraries needed for linking
|
| 28 |
+
``PostgreSQL_INCLUDE_DIRS``
|
| 29 |
+
the directories of the PostgreSQL headers
|
| 30 |
+
``PostgreSQL_LIBRARY_DIRS``
|
| 31 |
+
the link directories for PostgreSQL libraries
|
| 32 |
+
``PostgreSQL_VERSION_STRING``
|
| 33 |
+
the version of PostgreSQL found
|
| 34 |
+
``PostgreSQL_TYPE_INCLUDE_DIR``
|
| 35 |
+
the directories of the PostgreSQL server headers
|
| 36 |
+
|
| 37 |
+
Components
|
| 38 |
+
^^^^^^^^^^
|
| 39 |
+
|
| 40 |
+
This module contains additional ``Server`` component, that forcibly checks
|
| 41 |
+
for the presence of server headers. Note that ``PostgreSQL_TYPE_INCLUDE_DIR``
|
| 42 |
+
is set regardless of the presence of the ``Server`` component in find_package call.
|
| 43 |
+
|
| 44 |
+
#]=======================================================================]
|
| 45 |
+
|
| 46 |
+
# ----------------------------------------------------------------------------
|
| 47 |
+
# History:
|
| 48 |
+
# This module is derived from the module originally found in the VTK source tree.
|
| 49 |
+
#
|
| 50 |
+
# ----------------------------------------------------------------------------
|
| 51 |
+
# Note:
|
| 52 |
+
# PostgreSQL_ADDITIONAL_VERSIONS is a variable that can be used to set the
|
| 53 |
+
# version number of the implementation of PostgreSQL.
|
| 54 |
+
# In Windows the default installation of PostgreSQL uses that as part of the path.
|
| 55 |
+
# E.g C:\Program Files\PostgreSQL\8.4.
|
| 56 |
+
# Currently, the following version numbers are known to this module:
|
| 57 |
+
# "11" "10" "9.6" "9.5" "9.4" "9.3" "9.2" "9.1" "9.0" "8.4" "8.3" "8.2" "8.1" "8.0"
|
| 58 |
+
#
|
| 59 |
+
# To use this variable just do something like this:
|
| 60 |
+
# set(PostgreSQL_ADDITIONAL_VERSIONS "9.2" "8.4.4")
|
| 61 |
+
# before calling find_package(PostgreSQL) in your CMakeLists.txt file.
|
| 62 |
+
# This will mean that the versions you set here will be found first in the order
|
| 63 |
+
# specified before the default ones are searched.
|
| 64 |
+
#
|
| 65 |
+
# ----------------------------------------------------------------------------
|
| 66 |
+
# You may need to manually set:
|
| 67 |
+
# PostgreSQL_INCLUDE_DIR - the path to where the PostgreSQL include files are.
|
| 68 |
+
# PostgreSQL_LIBRARY_DIR - The path to where the PostgreSQL library files are.
|
| 69 |
+
# If FindPostgreSQL.cmake cannot find the include files or the library files.
|
| 70 |
+
#
|
| 71 |
+
# ----------------------------------------------------------------------------
|
| 72 |
+
# The following variables are set if PostgreSQL is found:
|
| 73 |
+
# PostgreSQL_FOUND - Set to true when PostgreSQL is found.
|
| 74 |
+
# PostgreSQL_INCLUDE_DIRS - Include directories for PostgreSQL
|
| 75 |
+
# PostgreSQL_LIBRARY_DIRS - Link directories for PostgreSQL libraries
|
| 76 |
+
# PostgreSQL_LIBRARIES - The PostgreSQL libraries.
|
| 77 |
+
#
|
| 78 |
+
# The ``PostgreSQL::PostgreSQL`` imported target is also created.
|
| 79 |
+
#
|
| 80 |
+
# ----------------------------------------------------------------------------
|
| 81 |
+
# If you have installed PostgreSQL in a non-standard location.
|
| 82 |
+
# (Please note that in the following comments, it is assumed that <Your Path>
|
| 83 |
+
# points to the root directory of the include directory of PostgreSQL.)
|
| 84 |
+
# Then you have three options.
|
| 85 |
+
# 1) After CMake runs, set PostgreSQL_INCLUDE_DIR to <Your Path>/include and
|
| 86 |
+
# PostgreSQL_LIBRARY_DIR to wherever the library pq (or libpq in windows) is
|
| 87 |
+
# 2) Use CMAKE_INCLUDE_PATH to set a path to <Your Path>/PostgreSQL<-version>. This will allow find_path()
|
| 88 |
+
# to locate PostgreSQL_INCLUDE_DIR by utilizing the PATH_SUFFIXES option. e.g. In your CMakeLists.txt file
|
| 89 |
+
# set(CMAKE_INCLUDE_PATH ${CMAKE_INCLUDE_PATH} "<Your Path>/include")
|
| 90 |
+
# 3) Set an environment variable called ${PostgreSQL_ROOT} that points to the root of where you have
|
| 91 |
+
# installed PostgreSQL, e.g. <Your Path>.
|
| 92 |
+
#
|
| 93 |
+
# ----------------------------------------------------------------------------
|
| 94 |
+
|
| 95 |
+
if(CMAKE_VERSION VERSION_GREATER_EQUAL "3.20")
|
| 96 |
+
include("${CMAKE_ROOT}/Modules/FindPostgreSQL.cmake")
|
| 97 |
+
return()
|
| 98 |
+
endif()
|
| 99 |
+
|
| 100 |
+
cmake_policy(PUSH)
|
| 101 |
+
cmake_policy(SET CMP0057 NEW) # if IN_LIST
|
| 102 |
+
if(POLICY CMP0159)
|
| 103 |
+
cmake_policy(SET CMP0159 NEW)
|
| 104 |
+
endif()
|
| 105 |
+
|
| 106 |
+
set(PostgreSQL_INCLUDE_PATH_DESCRIPTION "top-level directory containing the PostgreSQL include directories. E.g /usr/local/include/PostgreSQL/8.4 or C:/Program Files/PostgreSQL/8.4/include")
|
| 107 |
+
set(PostgreSQL_INCLUDE_DIR_MESSAGE "Set the PostgreSQL_INCLUDE_DIR cmake cache entry to the ${PostgreSQL_INCLUDE_PATH_DESCRIPTION}")
|
| 108 |
+
set(PostgreSQL_LIBRARY_PATH_DESCRIPTION "top-level directory containing the PostgreSQL libraries.")
|
| 109 |
+
set(PostgreSQL_LIBRARY_DIR_MESSAGE "Set the PostgreSQL_LIBRARY_DIR cmake cache entry to the ${PostgreSQL_LIBRARY_PATH_DESCRIPTION}")
|
| 110 |
+
set(PostgreSQL_ROOT_DIR_MESSAGE "Set the PostgreSQL_ROOT system variable to where PostgreSQL is found on the machine E.g C:/Program Files/PostgreSQL/8.4")
|
| 111 |
+
|
| 112 |
+
|
| 113 |
+
set(PostgreSQL_KNOWN_VERSIONS ${PostgreSQL_ADDITIONAL_VERSIONS}
|
| 114 |
+
"13" "12" "11" "10" "9.6" "9.5" "9.4" "9.3" "9.2" "9.1" "9.0" "8.4" "8.3" "8.2" "8.1" "8.0")
|
| 115 |
+
|
| 116 |
+
# Define additional search paths for root directories.
|
| 117 |
+
set( PostgreSQL_ROOT_DIRECTORIES
|
| 118 |
+
ENV PostgreSQL_ROOT
|
| 119 |
+
${PostgreSQL_ROOT}
|
| 120 |
+
)
|
| 121 |
+
foreach(suffix ${PostgreSQL_KNOWN_VERSIONS})
|
| 122 |
+
if(WIN32)
|
| 123 |
+
list(APPEND PostgreSQL_LIBRARY_ADDITIONAL_SEARCH_SUFFIXES
|
| 124 |
+
"PostgreSQL/${suffix}/lib")
|
| 125 |
+
list(APPEND PostgreSQL_INCLUDE_ADDITIONAL_SEARCH_SUFFIXES
|
| 126 |
+
"PostgreSQL/${suffix}/include")
|
| 127 |
+
list(APPEND PostgreSQL_TYPE_ADDITIONAL_SEARCH_SUFFIXES
|
| 128 |
+
"PostgreSQL/${suffix}/include/server")
|
| 129 |
+
endif()
|
| 130 |
+
if(UNIX)
|
| 131 |
+
list(APPEND PostgreSQL_LIBRARY_ADDITIONAL_SEARCH_SUFFIXES
|
| 132 |
+
"postgresql${suffix}"
|
| 133 |
+
"pgsql-${suffix}/lib")
|
| 134 |
+
list(APPEND PostgreSQL_INCLUDE_ADDITIONAL_SEARCH_SUFFIXES
|
| 135 |
+
"postgresql${suffix}"
|
| 136 |
+
"postgresql/${suffix}"
|
| 137 |
+
"pgsql-${suffix}/include")
|
| 138 |
+
list(APPEND PostgreSQL_TYPE_ADDITIONAL_SEARCH_SUFFIXES
|
| 139 |
+
"postgresql${suffix}/server"
|
| 140 |
+
"postgresql/${suffix}/server"
|
| 141 |
+
"pgsql-${suffix}/include/server")
|
| 142 |
+
endif()
|
| 143 |
+
endforeach()
|
| 144 |
+
|
| 145 |
+
#
|
| 146 |
+
# Look for an installation.
|
| 147 |
+
#
|
| 148 |
+
find_path(PostgreSQL_INCLUDE_DIR
|
| 149 |
+
NAMES libpq-fe.h
|
| 150 |
+
PATHS
|
| 151 |
+
# Look in other places.
|
| 152 |
+
${PostgreSQL_ROOT_DIRECTORIES}
|
| 153 |
+
PATH_SUFFIXES
|
| 154 |
+
pgsql
|
| 155 |
+
postgresql
|
| 156 |
+
include
|
| 157 |
+
${PostgreSQL_INCLUDE_ADDITIONAL_SEARCH_SUFFIXES}
|
| 158 |
+
# Help the user find it if we cannot.
|
| 159 |
+
DOC "The ${PostgreSQL_INCLUDE_DIR_MESSAGE}"
|
| 160 |
+
)
|
| 161 |
+
|
| 162 |
+
find_path(PostgreSQL_TYPE_INCLUDE_DIR
|
| 163 |
+
NAMES catalog/pg_type.h
|
| 164 |
+
PATHS
|
| 165 |
+
# Look in other places.
|
| 166 |
+
${PostgreSQL_ROOT_DIRECTORIES}
|
| 167 |
+
PATH_SUFFIXES
|
| 168 |
+
postgresql
|
| 169 |
+
pgsql/server
|
| 170 |
+
postgresql/server
|
| 171 |
+
include/server
|
| 172 |
+
${PostgreSQL_TYPE_ADDITIONAL_SEARCH_SUFFIXES}
|
| 173 |
+
# Help the user find it if we cannot.
|
| 174 |
+
DOC "The ${PostgreSQL_INCLUDE_DIR_MESSAGE}"
|
| 175 |
+
)
|
| 176 |
+
|
| 177 |
+
# The PostgreSQL library.
|
| 178 |
+
set (PostgreSQL_LIBRARY_TO_FIND pq)
|
| 179 |
+
# Setting some more prefixes for the library
|
| 180 |
+
set (PostgreSQL_LIB_PREFIX "")
|
| 181 |
+
if ( WIN32 )
|
| 182 |
+
set (PostgreSQL_LIB_PREFIX ${PostgreSQL_LIB_PREFIX} "lib")
|
| 183 |
+
set (PostgreSQL_LIBRARY_TO_FIND ${PostgreSQL_LIB_PREFIX}${PostgreSQL_LIBRARY_TO_FIND})
|
| 184 |
+
endif()
|
| 185 |
+
|
| 186 |
+
function(__postgresql_find_library _name)
|
| 187 |
+
find_library(${_name}
|
| 188 |
+
NAMES ${ARGN}
|
| 189 |
+
PATHS
|
| 190 |
+
${PostgreSQL_ROOT_DIRECTORIES}
|
| 191 |
+
PATH_SUFFIXES
|
| 192 |
+
lib
|
| 193 |
+
${PostgreSQL_LIBRARY_ADDITIONAL_SEARCH_SUFFIXES}
|
| 194 |
+
# Help the user find it if we cannot.
|
| 195 |
+
DOC "The ${PostgreSQL_LIBRARY_DIR_MESSAGE}"
|
| 196 |
+
)
|
| 197 |
+
endfunction()
|
| 198 |
+
|
| 199 |
+
# For compatibility with versions prior to this multi-config search, honor
|
| 200 |
+
# any PostgreSQL_LIBRARY that is already specified and skip the search.
|
| 201 |
+
if(PostgreSQL_LIBRARY)
|
| 202 |
+
set(PostgreSQL_LIBRARIES "${PostgreSQL_LIBRARY}")
|
| 203 |
+
get_filename_component(PostgreSQL_LIBRARY_DIR "${PostgreSQL_LIBRARY}" PATH)
|
| 204 |
+
else()
|
| 205 |
+
__postgresql_find_library(PostgreSQL_LIBRARY_RELEASE ${PostgreSQL_LIBRARY_TO_FIND})
|
| 206 |
+
__postgresql_find_library(PostgreSQL_LIBRARY_DEBUG ${PostgreSQL_LIBRARY_TO_FIND}d)
|
| 207 |
+
include(SelectLibraryConfigurations)
|
| 208 |
+
select_library_configurations(PostgreSQL)
|
| 209 |
+
mark_as_advanced(PostgreSQL_LIBRARY_RELEASE PostgreSQL_LIBRARY_DEBUG)
|
| 210 |
+
if(PostgreSQL_LIBRARY_RELEASE)
|
| 211 |
+
get_filename_component(PostgreSQL_LIBRARY_DIR "${PostgreSQL_LIBRARY_RELEASE}" PATH)
|
| 212 |
+
elseif(PostgreSQL_LIBRARY_DEBUG)
|
| 213 |
+
get_filename_component(PostgreSQL_LIBRARY_DIR "${PostgreSQL_LIBRARY_DEBUG}" PATH)
|
| 214 |
+
else()
|
| 215 |
+
set(PostgreSQL_LIBRARY_DIR "")
|
| 216 |
+
endif()
|
| 217 |
+
endif()
|
| 218 |
+
|
| 219 |
+
if (PostgreSQL_INCLUDE_DIR)
|
| 220 |
+
# Some platforms include multiple pg_config.hs for multi-lib configurations
|
| 221 |
+
# This is a temporary workaround. A better solution would be to compile
|
| 222 |
+
# a dummy c file and extract the value of the symbol.
|
| 223 |
+
file(GLOB _PG_CONFIG_HEADERS "${PostgreSQL_INCLUDE_DIR}/pg_config*.h")
|
| 224 |
+
foreach(_PG_CONFIG_HEADER ${_PG_CONFIG_HEADERS})
|
| 225 |
+
if(EXISTS "${_PG_CONFIG_HEADER}")
|
| 226 |
+
file(STRINGS "${_PG_CONFIG_HEADER}" pgsql_version_str
|
| 227 |
+
REGEX "^#define[\t ]+PG_VERSION_NUM[\t ]+.*")
|
| 228 |
+
if(pgsql_version_str)
|
| 229 |
+
string(REGEX REPLACE "^#define[\t ]+PG_VERSION_NUM[\t ]+([0-9]*).*"
|
| 230 |
+
"\\1" _PostgreSQL_VERSION_NUM "${pgsql_version_str}")
|
| 231 |
+
break()
|
| 232 |
+
endif()
|
| 233 |
+
endif()
|
| 234 |
+
endforeach()
|
| 235 |
+
if (_PostgreSQL_VERSION_NUM)
|
| 236 |
+
# 9.x and older encoding
|
| 237 |
+
if (_PostgreSQL_VERSION_NUM LESS 100000)
|
| 238 |
+
math(EXPR _PostgreSQL_major_version "${_PostgreSQL_VERSION_NUM} / 10000")
|
| 239 |
+
math(EXPR _PostgreSQL_minor_version "${_PostgreSQL_VERSION_NUM} % 10000 / 100")
|
| 240 |
+
math(EXPR _PostgreSQL_patch_version "${_PostgreSQL_VERSION_NUM} % 100")
|
| 241 |
+
set(PostgreSQL_VERSION_STRING "${_PostgreSQL_major_version}.${_PostgreSQL_minor_version}.${_PostgreSQL_patch_version}")
|
| 242 |
+
unset(_PostgreSQL_major_version)
|
| 243 |
+
unset(_PostgreSQL_minor_version)
|
| 244 |
+
unset(_PostgreSQL_patch_version)
|
| 245 |
+
else ()
|
| 246 |
+
math(EXPR _PostgreSQL_major_version "${_PostgreSQL_VERSION_NUM} / 10000")
|
| 247 |
+
math(EXPR _PostgreSQL_minor_version "${_PostgreSQL_VERSION_NUM} % 10000")
|
| 248 |
+
set(PostgreSQL_VERSION_STRING "${_PostgreSQL_major_version}.${_PostgreSQL_minor_version}")
|
| 249 |
+
unset(_PostgreSQL_major_version)
|
| 250 |
+
unset(_PostgreSQL_minor_version)
|
| 251 |
+
endif ()
|
| 252 |
+
else ()
|
| 253 |
+
foreach(_PG_CONFIG_HEADER ${_PG_CONFIG_HEADERS})
|
| 254 |
+
if(EXISTS "${_PG_CONFIG_HEADER}")
|
| 255 |
+
file(STRINGS "${_PG_CONFIG_HEADER}" pgsql_version_str
|
| 256 |
+
REGEX "^#define[\t ]+PG_VERSION[\t ]+\".*\"")
|
| 257 |
+
if(pgsql_version_str)
|
| 258 |
+
string(REGEX REPLACE "^#define[\t ]+PG_VERSION[\t ]+\"([^\"]*)\".*"
|
| 259 |
+
"\\1" PostgreSQL_VERSION_STRING "${pgsql_version_str}")
|
| 260 |
+
break()
|
| 261 |
+
endif()
|
| 262 |
+
endif()
|
| 263 |
+
endforeach()
|
| 264 |
+
endif ()
|
| 265 |
+
unset(_PostgreSQL_VERSION_NUM)
|
| 266 |
+
unset(pgsql_version_str)
|
| 267 |
+
endif()
|
| 268 |
+
|
| 269 |
+
if("Server" IN_LIST PostgreSQL_FIND_COMPONENTS)
|
| 270 |
+
set(PostgreSQL_Server_FOUND TRUE)
|
| 271 |
+
if(NOT PostgreSQL_TYPE_INCLUDE_DIR)
|
| 272 |
+
set(PostgreSQL_Server_FOUND FALSE)
|
| 273 |
+
endif()
|
| 274 |
+
endif()
|
| 275 |
+
|
| 276 |
+
# Did we find anything?
|
| 277 |
+
include(FindPackageHandleStandardArgs)
|
| 278 |
+
find_package_handle_standard_args(PostgreSQL
|
| 279 |
+
REQUIRED_VARS PostgreSQL_LIBRARY PostgreSQL_INCLUDE_DIR
|
| 280 |
+
HANDLE_COMPONENTS
|
| 281 |
+
VERSION_VAR PostgreSQL_VERSION_STRING)
|
| 282 |
+
set(PostgreSQL_FOUND ${POSTGRESQL_FOUND})
|
| 283 |
+
|
| 284 |
+
function(__postgresql_import_library _target _var _config)
|
| 285 |
+
if(_config)
|
| 286 |
+
set(_config_suffix "_${_config}")
|
| 287 |
+
else()
|
| 288 |
+
set(_config_suffix "")
|
| 289 |
+
endif()
|
| 290 |
+
|
| 291 |
+
set(_lib "${${_var}${_config_suffix}}")
|
| 292 |
+
if(EXISTS "${_lib}")
|
| 293 |
+
if(_config)
|
| 294 |
+
set_property(TARGET ${_target} APPEND PROPERTY
|
| 295 |
+
IMPORTED_CONFIGURATIONS ${_config})
|
| 296 |
+
endif()
|
| 297 |
+
set_target_properties(${_target} PROPERTIES
|
| 298 |
+
IMPORTED_LOCATION${_config_suffix} "${_lib}")
|
| 299 |
+
endif()
|
| 300 |
+
endfunction()
|
| 301 |
+
|
| 302 |
+
# Now try to get the include and library path.
|
| 303 |
+
if(PostgreSQL_FOUND)
|
| 304 |
+
set(PostgreSQL_INCLUDE_DIRS ${PostgreSQL_INCLUDE_DIR})
|
| 305 |
+
if(PostgreSQL_TYPE_INCLUDE_DIR)
|
| 306 |
+
list(APPEND PostgreSQL_INCLUDE_DIRS ${PostgreSQL_TYPE_INCLUDE_DIR})
|
| 307 |
+
endif()
|
| 308 |
+
set(PostgreSQL_LIBRARY_DIRS ${PostgreSQL_LIBRARY_DIR})
|
| 309 |
+
if (NOT TARGET PostgreSQL::PostgreSQL)
|
| 310 |
+
add_library(PostgreSQL::PostgreSQL UNKNOWN IMPORTED)
|
| 311 |
+
set_target_properties(PostgreSQL::PostgreSQL PROPERTIES
|
| 312 |
+
INTERFACE_INCLUDE_DIRECTORIES "${PostgreSQL_INCLUDE_DIRS}")
|
| 313 |
+
__postgresql_import_library(PostgreSQL::PostgreSQL PostgreSQL_LIBRARY "")
|
| 314 |
+
__postgresql_import_library(PostgreSQL::PostgreSQL PostgreSQL_LIBRARY "RELEASE")
|
| 315 |
+
__postgresql_import_library(PostgreSQL::PostgreSQL PostgreSQL_LIBRARY "DEBUG")
|
| 316 |
+
endif ()
|
| 317 |
+
endif()
|
| 318 |
+
|
| 319 |
+
mark_as_advanced(PostgreSQL_INCLUDE_DIR PostgreSQL_TYPE_INCLUDE_DIR)
|
| 320 |
+
|
| 321 |
+
cmake_policy(POP)
|
qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindRenderDoc.cmake
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (C) 2023 The Qt Company Ltd.
|
| 2 |
+
# SPDX-License-Identifier: BSD-3-Clause
|
| 3 |
+
|
| 4 |
+
if(WIN32 OR UNIX)
|
| 5 |
+
find_path(RenderDoc_INCLUDE_DIR
|
| 6 |
+
NAMES renderdoc_app.h)
|
| 7 |
+
endif()
|
| 8 |
+
|
| 9 |
+
include(FindPackageHandleStandardArgs)
|
| 10 |
+
find_package_handle_standard_args(RenderDoc
|
| 11 |
+
DEFAULT_MSG
|
| 12 |
+
RenderDoc_INCLUDE_DIR)
|
| 13 |
+
|
| 14 |
+
mark_as_advanced(RenderDoc_INCLUDE_DIR)
|
| 15 |
+
|
| 16 |
+
if(RenderDoc_FOUND AND NOT TARGET RenderDoc::RenderDoc)
|
| 17 |
+
add_library(RenderDoc::RenderDoc INTERFACE IMPORTED)
|
| 18 |
+
set_target_properties(RenderDoc::RenderDoc PROPERTIES
|
| 19 |
+
INTERFACE_INCLUDE_DIRECTORIES "${RenderDoc_INCLUDE_DIR}")
|
| 20 |
+
endif()
|
qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindSlog2.cmake
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (C) 2022 The Qt Company Ltd.
|
| 2 |
+
# SPDX-License-Identifier: BSD-3-Clause
|
| 3 |
+
|
| 4 |
+
# Find the Slog2 library
|
| 5 |
+
|
| 6 |
+
# Will make the target Slog2::Slog2 available when found.
|
| 7 |
+
if(TARGET Slog2::Slog2)
|
| 8 |
+
set(Slog2_FOUND TRUE)
|
| 9 |
+
return()
|
| 10 |
+
endif()
|
| 11 |
+
|
| 12 |
+
find_library(Slog2_LIBRARY NAMES "slog2")
|
| 13 |
+
find_path(Slog2_INCLUDE_DIR NAMES "sys/slog2.h" DOC "The Slog2 Include path")
|
| 14 |
+
|
| 15 |
+
include(FindPackageHandleStandardArgs)
|
| 16 |
+
find_package_handle_standard_args(Slog2 DEFAULT_MSG Slog2_INCLUDE_DIR Slog2_LIBRARY)
|
| 17 |
+
|
| 18 |
+
mark_as_advanced(Slog2_INCLUDE_DIR Slog2_LIBRARY)
|
| 19 |
+
|
| 20 |
+
if(Slog2_FOUND)
|
| 21 |
+
add_library(Slog2::Slog2 INTERFACE IMPORTED)
|
| 22 |
+
target_link_libraries(Slog2::Slog2 INTERFACE ${Slog2_LIBRARY})
|
| 23 |
+
target_include_directories(Slog2::Slog2 INTERFACE ${Slog2_INCLUDE_DIR})
|
| 24 |
+
endif()
|
qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindTslib.cmake
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (C) 2022 The Qt Company Ltd.
|
| 2 |
+
# SPDX-License-Identifier: BSD-3-Clause
|
| 3 |
+
|
| 4 |
+
find_package(PkgConfig QUIET)
|
| 5 |
+
|
| 6 |
+
pkg_check_modules(Tslib IMPORTED_TARGET "tslib")
|
| 7 |
+
|
| 8 |
+
if (NOT TARGET PkgConfig::Tslib)
|
| 9 |
+
set(Tslib_FOUND 0)
|
| 10 |
+
endif()
|
qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindWrapAtomic.cmake
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (C) 2022 The Qt Company Ltd.
|
| 2 |
+
# SPDX-License-Identifier: BSD-3-Clause
|
| 3 |
+
|
| 4 |
+
# We can't create the same interface imported target multiple times, CMake will complain if we do
|
| 5 |
+
# that. This can happen if the find_package call is done in multiple different subdirectories.
|
| 6 |
+
if(TARGET WrapAtomic::WrapAtomic)
|
| 7 |
+
set(WrapAtomic_FOUND ON)
|
| 8 |
+
return()
|
| 9 |
+
endif()
|
| 10 |
+
|
| 11 |
+
include(CheckCXXSourceCompiles)
|
| 12 |
+
|
| 13 |
+
set (atomic_test_sources "#include <atomic>
|
| 14 |
+
#include <cstdint>
|
| 15 |
+
|
| 16 |
+
int main(int, char **)
|
| 17 |
+
{
|
| 18 |
+
volatile std::atomic<char> size_1;
|
| 19 |
+
volatile std::atomic<short> size_2;
|
| 20 |
+
volatile std::atomic<int> size_4;
|
| 21 |
+
volatile std::atomic<int64_t> size_8;
|
| 22 |
+
|
| 23 |
+
++size_1;
|
| 24 |
+
++size_2;
|
| 25 |
+
++size_4;
|
| 26 |
+
++size_8;
|
| 27 |
+
|
| 28 |
+
(void)size_1.load(std::memory_order_relaxed);
|
| 29 |
+
(void)size_2.load(std::memory_order_relaxed);
|
| 30 |
+
(void)size_4.load(std::memory_order_relaxed);
|
| 31 |
+
(void)size_8.load(std::memory_order_relaxed);
|
| 32 |
+
|
| 33 |
+
return 0;
|
| 34 |
+
}")
|
| 35 |
+
|
| 36 |
+
check_cxx_source_compiles("${atomic_test_sources}" HAVE_STDATOMIC)
|
| 37 |
+
if(NOT HAVE_STDATOMIC)
|
| 38 |
+
set(_req_libraries "${CMAKE_REQUIRED_LIBRARIES}")
|
| 39 |
+
set(atomic_LIB "-latomic")
|
| 40 |
+
set(CMAKE_REQUIRED_LIBRARIES ${atomic_LIB})
|
| 41 |
+
check_cxx_source_compiles("${atomic_test_sources}" HAVE_STDATOMIC_WITH_LIB)
|
| 42 |
+
set(CMAKE_REQUIRED_LIBRARIES "${_req_libraries}")
|
| 43 |
+
endif()
|
| 44 |
+
|
| 45 |
+
add_library(WrapAtomic::WrapAtomic INTERFACE IMPORTED)
|
| 46 |
+
if(HAVE_STDATOMIC_WITH_LIB)
|
| 47 |
+
# atomic_LIB is already found above.
|
| 48 |
+
target_link_libraries(WrapAtomic::WrapAtomic INTERFACE ${atomic_LIB})
|
| 49 |
+
endif()
|
| 50 |
+
|
| 51 |
+
set(WrapAtomic_FOUND 1)
|
| 52 |
+
|
| 53 |
+
include(FindPackageHandleStandardArgs)
|
| 54 |
+
find_package_handle_standard_args(WrapAtomic DEFAULT_MSG WrapAtomic_FOUND)
|
qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindWrapBacktrace.cmake
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (C) 2022 The Qt Company Ltd.
|
| 2 |
+
# SPDX-License-Identifier: BSD-3-Clause
|
| 3 |
+
|
| 4 |
+
if(TARGET WrapBacktrace::WrapBacktrace)
|
| 5 |
+
set(WrapBacktrace_FOUND ON)
|
| 6 |
+
return()
|
| 7 |
+
endif()
|
| 8 |
+
|
| 9 |
+
find_package(Backtrace)
|
| 10 |
+
|
| 11 |
+
if(Backtrace_FOUND)
|
| 12 |
+
add_library(WrapBacktrace::WrapBacktrace INTERFACE IMPORTED)
|
| 13 |
+
target_link_libraries(WrapBacktrace::WrapBacktrace
|
| 14 |
+
INTERFACE ${Backtrace_LIBRARY})
|
| 15 |
+
target_include_directories(WrapBacktrace::WrapBacktrace
|
| 16 |
+
INTERFACE ${Backtrace_INCLUDE_DIR})
|
| 17 |
+
set(WrapBacktrace_FOUND ON)
|
| 18 |
+
else()
|
| 19 |
+
set(WrapBacktrace_FOUND OFF)
|
| 20 |
+
endif()
|
qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindWrapBrotli.cmake
ADDED
|
@@ -0,0 +1,107 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (C) 2022 The Qt Company Ltd.
|
| 2 |
+
# SPDX-License-Identifier: BSD-3-Clause
|
| 3 |
+
|
| 4 |
+
if(TARGET WrapBrotli::WrapBrotliDec)
|
| 5 |
+
set(WrapBrotli_FOUND ON)
|
| 6 |
+
return()
|
| 7 |
+
endif()
|
| 8 |
+
|
| 9 |
+
# From VCPKG
|
| 10 |
+
find_package(unofficial-brotli CONFIG QUIET)
|
| 11 |
+
if (unofficial-brotli_FOUND)
|
| 12 |
+
add_library(WrapBrotli::WrapBrotliDec INTERFACE IMPORTED)
|
| 13 |
+
target_link_libraries(WrapBrotli::WrapBrotliDec INTERFACE unofficial::brotli::brotlidec)
|
| 14 |
+
|
| 15 |
+
add_library(WrapBrotli::WrapBrotliEnc INTERFACE IMPORTED)
|
| 16 |
+
target_link_libraries(WrapBrotli::WrapBrotliEnc INTERFACE unofficial::brotli::brotlienc)
|
| 17 |
+
|
| 18 |
+
add_library(WrapBrotli::WrapBrotliCommon INTERFACE IMPORTED)
|
| 19 |
+
target_link_libraries(WrapBrotli::WrapBrotliCommon INTERFACE unofficial::brotli::brotlicommon)
|
| 20 |
+
|
| 21 |
+
set(WrapBrotli_FOUND ON)
|
| 22 |
+
else()
|
| 23 |
+
get_cmake_property(__packages_not_found PACKAGES_NOT_FOUND)
|
| 24 |
+
if(__packages_not_found)
|
| 25 |
+
list(REMOVE_ITEM __packages_not_found unofficial-brotli)
|
| 26 |
+
set_property(GLOBAL PROPERTY PACKAGES_NOT_FOUND "${__packages_not_found}")
|
| 27 |
+
endif()
|
| 28 |
+
unset(__packages_not_found)
|
| 29 |
+
|
| 30 |
+
find_package(PkgConfig QUIET)
|
| 31 |
+
if (PKG_CONFIG_FOUND)
|
| 32 |
+
pkg_check_modules(libbrotlidec QUIET IMPORTED_TARGET "libbrotlidec")
|
| 33 |
+
if (libbrotlidec_FOUND)
|
| 34 |
+
add_library(WrapBrotli::WrapBrotliDec INTERFACE IMPORTED)
|
| 35 |
+
target_link_libraries(WrapBrotli::WrapBrotliDec INTERFACE PkgConfig::libbrotlidec)
|
| 36 |
+
set(WrapBrotli_FOUND ON)
|
| 37 |
+
endif()
|
| 38 |
+
|
| 39 |
+
pkg_check_modules(libbrotlienc QUIET IMPORTED_TARGET "libbrotlienc")
|
| 40 |
+
if (libbrotlienc_FOUND)
|
| 41 |
+
add_library(WrapBrotli::WrapBrotliEnc INTERFACE IMPORTED)
|
| 42 |
+
target_link_libraries(WrapBrotli::WrapBrotliEnc INTERFACE PkgConfig::libbrotlienc)
|
| 43 |
+
set(WrapBrotli_FOUND ON)
|
| 44 |
+
endif()
|
| 45 |
+
|
| 46 |
+
pkg_check_modules(libbrotlicommon QUIET IMPORTED_TARGET "libbrotlicommon")
|
| 47 |
+
if (libbrotlicommon_FOUND)
|
| 48 |
+
add_library(WrapBrotli::WrapBrotliCommon INTERFACE IMPORTED)
|
| 49 |
+
target_link_libraries(WrapBrotli::WrapBrotliCommon INTERFACE PkgConfig::libbrotlicommon)
|
| 50 |
+
set(WrapBrotli_FOUND ON)
|
| 51 |
+
endif()
|
| 52 |
+
else()
|
| 53 |
+
find_path(BROTLI_INCLUDE_DIR NAMES "brotli/decode.h")
|
| 54 |
+
|
| 55 |
+
foreach(lib_name BrotliDec BrotliEnc BrotliCommon)
|
| 56 |
+
string(TOLOWER ${lib_name} lower_lib_name)
|
| 57 |
+
|
| 58 |
+
find_library(${lib_name}_LIBRARY_RELEASE
|
| 59 |
+
NAMES ${lower_lib_name} ${lower_lib_name}-static)
|
| 60 |
+
|
| 61 |
+
find_library(${lib_name}_LIBRARY_DEBUG
|
| 62 |
+
NAMES ${lower_lib_name}d ${lower_lib_name}-staticd
|
| 63 |
+
${lower_lib_name} ${lower_lib_name}-static)
|
| 64 |
+
|
| 65 |
+
include(SelectLibraryConfigurations)
|
| 66 |
+
select_library_configurations(${lib_name})
|
| 67 |
+
|
| 68 |
+
if (BROTLI_INCLUDE_DIR AND ${lib_name}_LIBRARY)
|
| 69 |
+
set(${lib_name}_FOUND TRUE)
|
| 70 |
+
endif()
|
| 71 |
+
|
| 72 |
+
if (${lib_name}_FOUND AND NOT TARGET WrapBrotli::Wrap${lib_name})
|
| 73 |
+
add_library(WrapBrotli::Wrap${lib_name} UNKNOWN IMPORTED)
|
| 74 |
+
set_target_properties(WrapBrotli::Wrap${lib_name} PROPERTIES
|
| 75 |
+
INTERFACE_INCLUDE_DIRECTORIES "${BROTLI_INCLUDE_DIR}"
|
| 76 |
+
IMPORTED_LOCATION "${${lib_name}_LIBRARY}")
|
| 77 |
+
|
| 78 |
+
if(${lib_name}_LIBRARY_RELEASE)
|
| 79 |
+
foreach(config_name RELEASE RELWITHDEBINFO MINSIZEREL)
|
| 80 |
+
set_property(TARGET WrapBrotli::Wrap${lib_name} APPEND PROPERTY
|
| 81 |
+
IMPORTED_CONFIGURATIONS ${config_name})
|
| 82 |
+
set_target_properties(WrapBrotli::Wrap${lib_name} PROPERTIES
|
| 83 |
+
IMPORTED_LOCATION_${config_name} "${${lib_name}_LIBRARY_RELEASE}")
|
| 84 |
+
endforeach()
|
| 85 |
+
endif()
|
| 86 |
+
|
| 87 |
+
if(${lib_name}_LIBRARY_DEBUG)
|
| 88 |
+
set_property(TARGET WrapBrotli::Wrap${lib_name} APPEND PROPERTY
|
| 89 |
+
IMPORTED_CONFIGURATIONS DEBUG)
|
| 90 |
+
set_target_properties(WrapBrotli::Wrap${lib_name} PROPERTIES
|
| 91 |
+
IMPORTED_LOCATION_DEBUG "${${lib_name}_LIBRARY_DEBUG}")
|
| 92 |
+
endif()
|
| 93 |
+
endif()
|
| 94 |
+
endforeach()
|
| 95 |
+
|
| 96 |
+
include(FindPackageHandleStandardArgs)
|
| 97 |
+
find_package_handle_standard_args(WrapBrotli REQUIRED_VARS
|
| 98 |
+
BrotliDec_FOUND BrotliEnc_FOUND BrotliCommon_FOUND)
|
| 99 |
+
|
| 100 |
+
if (WrapBrotli_FOUND)
|
| 101 |
+
set_property(TARGET WrapBrotli::WrapBrotliDec APPEND PROPERTY
|
| 102 |
+
INTERFACE_LINK_LIBRARIES WrapBrotli::WrapBrotliCommon)
|
| 103 |
+
set_property(TARGET WrapBrotli::WrapBrotliEnc APPEND PROPERTY
|
| 104 |
+
INTERFACE_LINK_LIBRARIES WrapBrotli::WrapBrotliCommon)
|
| 105 |
+
endif()
|
| 106 |
+
endif()
|
| 107 |
+
endif()
|
qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindWrapBundledFreetypeConfigExtra.cmake
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (C) 2024 The Qt Company Ltd.
|
| 2 |
+
# SPDX-License-Identifier: BSD-3-Clause
|
| 3 |
+
|
| 4 |
+
set(QT_USE_BUNDLED_BundledFreetype ON CACHE INTERNAL "")
|
qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindWrapBundledHarfbuzzConfigExtra.cmake
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (C) 2024 The Qt Company Ltd.
|
| 2 |
+
# SPDX-License-Identifier: BSD-3-Clause
|
| 3 |
+
|
| 4 |
+
set(QT_USE_BUNDLED_BundledHarfbuzz ON CACHE INTERNAL "")
|
qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindWrapBundledLibjpegConfigExtra.cmake
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (C) 2024 The Qt Company Ltd.
|
| 2 |
+
# SPDX-License-Identifier: BSD-3-Clause
|
| 3 |
+
|
| 4 |
+
set(QT_USE_BUNDLED_BundledLibjpeg ON CACHE INTERNAL "")
|
qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindWrapBundledLibpngConfigExtra.cmake
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (C) 2024 The Qt Company Ltd.
|
| 2 |
+
# SPDX-License-Identifier: BSD-3-Clause
|
| 3 |
+
|
| 4 |
+
set(QT_USE_BUNDLED_BundledLibpng ON CACHE INTERNAL "")
|
qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindWrapBundledPcre2ConfigExtra.cmake
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (C) 2024 The Qt Company Ltd.
|
| 2 |
+
# SPDX-License-Identifier: BSD-3-Clause
|
| 3 |
+
|
| 4 |
+
set(QT_USE_BUNDLED_BundledPcre2 ON CACHE INTERNAL "")
|
qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindWrapBundledZLIBConfigExtra.cmake
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (C) 2024 The Qt Company Ltd.
|
| 2 |
+
# SPDX-License-Identifier: BSD-3-Clause
|
| 3 |
+
|
| 4 |
+
set(QT_USE_BUNDLED_BundledZLIB ON CACHE INTERNAL "")
|
qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindWrapDBus1.cmake
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (C) 2022 The Qt Company Ltd.
|
| 2 |
+
# SPDX-License-Identifier: BSD-3-Clause
|
| 3 |
+
|
| 4 |
+
# DBus1 is buggy and breaks PKG_CONFIG environment.
|
| 5 |
+
# Work around that:-/
|
| 6 |
+
# See https://gitlab.freedesktop.org/dbus/dbus/issues/267 for more information
|
| 7 |
+
|
| 8 |
+
# When doing top-level static Qt builds, we need to protect against double creation of the dbus
|
| 9 |
+
# target.
|
| 10 |
+
if(DBus1_FOUND OR WrapDBus1_FOUND OR TARGET dbus-1)
|
| 11 |
+
set(WrapDBus1_FOUND 1)
|
| 12 |
+
return()
|
| 13 |
+
endif()
|
| 14 |
+
|
| 15 |
+
if(DEFINED ENV{PKG_CONFIG_DIR})
|
| 16 |
+
set(__qt_dbus_pcd "$ENV{PKG_CONFIG_DIR}")
|
| 17 |
+
endif()
|
| 18 |
+
if(DEFINED ENV{PKG_CONFIG_PATH})
|
| 19 |
+
set(__qt_dbus_pcp "$ENV{PKG_CONFIG_PATH}")
|
| 20 |
+
endif()
|
| 21 |
+
if(DEFINED ENV{PKG_CONFIG_LIBDIR})
|
| 22 |
+
set(__qt_dbus_pcl "$ENV{PKG_CONFIG_LIBDIR}")
|
| 23 |
+
endif()
|
| 24 |
+
|
| 25 |
+
find_package(DBus1 ${${CMAKE_FIND_PACKAGE_NAME}_FIND_VERSION} QUIET)
|
| 26 |
+
|
| 27 |
+
if(DEFINED __qt_dbus_pcd)
|
| 28 |
+
set(ENV{PKG_CONFIG_DIR} "${__qt_dbus_pcd}")
|
| 29 |
+
else()
|
| 30 |
+
unset(ENV{PKG_CONFIG_DIR})
|
| 31 |
+
endif()
|
| 32 |
+
if(DEFINED __qt_dbus_pcp)
|
| 33 |
+
set(ENV{PKG_CONFIG_PATH} "${__qt_dbus_pcp}")
|
| 34 |
+
else()
|
| 35 |
+
unset(ENV{PKG_CONFIG_PATH})
|
| 36 |
+
endif()
|
| 37 |
+
if(DEFINED __qt_dbus_pcl)
|
| 38 |
+
set(ENV{PKG_CONFIG_LIBDIR} "${__qt_dbus_pcl}")
|
| 39 |
+
else()
|
| 40 |
+
unset(ENV{PKG_CONFIG_LIBDIR})
|
| 41 |
+
endif()
|
| 42 |
+
|
| 43 |
+
if(DBus1_FOUND)
|
| 44 |
+
set(WrapDBus1_FOUND 1)
|
| 45 |
+
endif()
|
| 46 |
+
|
| 47 |
+
include(FindPackageHandleStandardArgs)
|
| 48 |
+
find_package_handle_standard_args(WrapDBus1 REQUIRED_VARS
|
| 49 |
+
DBus1_LIBRARY DBus1_INCLUDE_DIR WrapDBus1_FOUND
|
| 50 |
+
VERSION_VAR DBus1_VERSION)
|
qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindWrapFreetype.cmake
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (C) 2022 The Qt Company Ltd.
|
| 2 |
+
# SPDX-License-Identifier: BSD-3-Clause
|
| 3 |
+
|
| 4 |
+
include(QtFindWrapHelper NO_POLICY_SCOPE)
|
| 5 |
+
|
| 6 |
+
qt_find_package_system_or_bundled(wrap_freetype
|
| 7 |
+
FRIENDLY_PACKAGE_NAME "Freetype"
|
| 8 |
+
WRAP_PACKAGE_TARGET "WrapFreetype::WrapFreetype"
|
| 9 |
+
WRAP_PACKAGE_FOUND_VAR_NAME "WrapFreetype_FOUND"
|
| 10 |
+
BUNDLED_PACKAGE_NAME "BundledFreetype"
|
| 11 |
+
BUNDLED_PACKAGE_TARGET "BundledFreetype"
|
| 12 |
+
SYSTEM_PACKAGE_NAME "WrapSystemFreetype"
|
| 13 |
+
SYSTEM_PACKAGE_TARGET "WrapSystemFreetype::WrapSystemFreetype"
|
| 14 |
+
)
|
qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindWrapHarfbuzz.cmake
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (C) 2022 The Qt Company Ltd.
|
| 2 |
+
# SPDX-License-Identifier: BSD-3-Clause
|
| 3 |
+
|
| 4 |
+
include(QtFindWrapHelper NO_POLICY_SCOPE)
|
| 5 |
+
|
| 6 |
+
qt_find_package_system_or_bundled(wrap_harfbuzz
|
| 7 |
+
FRIENDLY_PACKAGE_NAME "Harfbuzz"
|
| 8 |
+
WRAP_PACKAGE_TARGET "WrapHarfbuzz::WrapHarfbuzz"
|
| 9 |
+
WRAP_PACKAGE_FOUND_VAR_NAME "WrapHarfbuzz_FOUND"
|
| 10 |
+
BUNDLED_PACKAGE_NAME "BundledHarfbuzz"
|
| 11 |
+
BUNDLED_PACKAGE_TARGET "BundledHarfbuzz"
|
| 12 |
+
SYSTEM_PACKAGE_NAME "WrapSystemHarfbuzz"
|
| 13 |
+
SYSTEM_PACKAGE_TARGET "WrapSystemHarfbuzz::WrapSystemHarfbuzz"
|
| 14 |
+
)
|
qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindWrapJasper.cmake
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (C) 2022 The Qt Company Ltd.
|
| 2 |
+
# SPDX-License-Identifier: BSD-3-Clause
|
| 3 |
+
|
| 4 |
+
# We can't create the same interface imported target multiple times, CMake will complain if we do
|
| 5 |
+
# that. This can happen if the find_package call is done in multiple different subdirectories.
|
| 6 |
+
if(TARGET WrapJasper::WrapJasper)
|
| 7 |
+
set(WrapJasper_FOUND TRUE)
|
| 8 |
+
return()
|
| 9 |
+
endif()
|
| 10 |
+
|
| 11 |
+
set(WrapJasper_FOUND OFF)
|
| 12 |
+
find_package(Jasper)
|
| 13 |
+
|
| 14 |
+
if(Jasper_FOUND)
|
| 15 |
+
set(WrapJasper_FOUND ON)
|
| 16 |
+
|
| 17 |
+
# Upstream package does not provide targets, only variables. So define a target.
|
| 18 |
+
add_library(WrapJasper::WrapJasper INTERFACE IMPORTED)
|
| 19 |
+
target_link_libraries(WrapJasper::WrapJasper INTERFACE ${JASPER_LIBRARIES})
|
| 20 |
+
target_include_directories(WrapJasper::WrapJasper INTERFACE ${JASPER_INCLUDE_DIR})
|
| 21 |
+
endif()
|
qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindWrapJpeg.cmake
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (C) 2022 The Qt Company Ltd.
|
| 2 |
+
# SPDX-License-Identifier: BSD-3-Clause
|
| 3 |
+
|
| 4 |
+
include(QtFindWrapHelper NO_POLICY_SCOPE)
|
| 5 |
+
|
| 6 |
+
qt_find_package_system_or_bundled(wrap_jpeg
|
| 7 |
+
FRIENDLY_PACKAGE_NAME "Jpeg"
|
| 8 |
+
WRAP_PACKAGE_TARGET "WrapJpeg::WrapJpeg"
|
| 9 |
+
WRAP_PACKAGE_FOUND_VAR_NAME "WrapJpeg_FOUND"
|
| 10 |
+
BUNDLED_PACKAGE_NAME "BundledLibjpeg"
|
| 11 |
+
BUNDLED_PACKAGE_TARGET "BundledLibjpeg"
|
| 12 |
+
SYSTEM_PACKAGE_NAME "WrapSystemJpeg"
|
| 13 |
+
SYSTEM_PACKAGE_TARGET "WrapSystemJpeg::WrapSystemJpeg"
|
| 14 |
+
)
|
qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindWrapLibClang.cmake
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (C) 2022 The Qt Company Ltd.
|
| 2 |
+
# SPDX-License-Identifier: BSD-3-Clause
|
| 3 |
+
|
| 4 |
+
if(TARGET WrapLibClang::WrapLibClang)
|
| 5 |
+
set(WrapLibClang_FOUND TRUE)
|
| 6 |
+
return()
|
| 7 |
+
endif()
|
| 8 |
+
|
| 9 |
+
if(DEFINED ENV{LLVM_INSTALL_DIR})
|
| 10 |
+
set(__qt_wrap_clang_backup_prefix "${CMAKE_PREFIX_PATH}")
|
| 11 |
+
list(PREPEND CMAKE_PREFIX_PATH "$ENV{LLVM_INSTALL_DIR}")
|
| 12 |
+
elseif(DEFINED CACHE{LLVM_INSTALL_DIR})
|
| 13 |
+
set(__qt_wrap_clang_backup_prefix "${CMAKE_PREFIX_PATH}")
|
| 14 |
+
list(PREPEND CMAKE_PREFIX_PATH "${LLVM_INSTALL_DIR}")
|
| 15 |
+
endif()
|
| 16 |
+
|
| 17 |
+
find_package(Clang CONFIG)
|
| 18 |
+
# LLVM versions >= 16 come with Findzstd.cmake that creates a target for libzstd.
|
| 19 |
+
# Disable its global promotion to prevent interference with FindWrapZSTD.cmake.
|
| 20 |
+
if(TARGET zstd::libzstd)
|
| 21 |
+
qt_internal_disable_find_package_global_promotion(zstd::libzstd)
|
| 22 |
+
endif()
|
| 23 |
+
if(TARGET zstd::libzstd_shared)
|
| 24 |
+
qt_internal_disable_find_package_global_promotion(zstd::libzstd_shared)
|
| 25 |
+
endif()
|
| 26 |
+
if(TARGET zstd::libzstd_static)
|
| 27 |
+
qt_internal_disable_find_package_global_promotion(zstd::libzstd_static)
|
| 28 |
+
endif()
|
| 29 |
+
|
| 30 |
+
if(__qt_wrap_clang_backup_prefix)
|
| 31 |
+
set(CMAKE_PREFIX_PATH "${__qt_wrap_clang_backup_prefix}")
|
| 32 |
+
unset(__qt_wrap_clang_backup_prefix)
|
| 33 |
+
endif()
|
| 34 |
+
|
| 35 |
+
set(WrapLibClang_FOUND FALSE)
|
| 36 |
+
set(__wrap_lib_clang_requested_version_found FALSE)
|
| 37 |
+
|
| 38 |
+
# Need to explicitly handle the version check, because the Clang package doesn't.
|
| 39 |
+
if(WrapLibClang_FIND_VERSION AND LLVM_PACKAGE_VERSION
|
| 40 |
+
AND LLVM_PACKAGE_VERSION VERSION_GREATER_EQUAL "${WrapLibClang_FIND_VERSION}")
|
| 41 |
+
set(__wrap_lib_clang_requested_version_found TRUE)
|
| 42 |
+
endif()
|
| 43 |
+
|
| 44 |
+
if(TARGET libclang AND ((TARGET clang-cpp AND TARGET LLVM) OR TARGET clangHandleCXX) AND __wrap_lib_clang_requested_version_found)
|
| 45 |
+
set(WrapLibClang_FOUND TRUE)
|
| 46 |
+
|
| 47 |
+
get_target_property(type libclang TYPE)
|
| 48 |
+
if (MSVC AND type STREQUAL "STATIC_LIBRARY")
|
| 49 |
+
get_property(__wrap_lib_clang_multi_config
|
| 50 |
+
GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG)
|
| 51 |
+
if(__wrap_lib_clang_multi_config)
|
| 52 |
+
set(__wrap_lib_clang_configs ${CMAKE_CONFIGURATION_TYPES})
|
| 53 |
+
else()
|
| 54 |
+
set(__wrap_lib_clang_configs ${CMAKE_BUILD_TYPE})
|
| 55 |
+
endif()
|
| 56 |
+
set(__wrap_lib_clang_non_release_configs ${configs})
|
| 57 |
+
list(REMOVE_ITEM __wrap_lib_clang_non_release_configs
|
| 58 |
+
Release MinSizeRel RelWithDebInfo)
|
| 59 |
+
if(__wrap_lib_clang_non_release_configs STREQUAL __wrap_lib_clang_configs)
|
| 60 |
+
message(STATUS "Static linkage against libclang with MSVC was requested, but the build is not a release build, therefore libclang cannot be used.")
|
| 61 |
+
set(WrapLibClang_FOUND FALSE)
|
| 62 |
+
endif()
|
| 63 |
+
endif()
|
| 64 |
+
|
| 65 |
+
if(WrapLibClang_FOUND)
|
| 66 |
+
add_library(WrapLibClang::WrapLibClang IMPORTED INTERFACE)
|
| 67 |
+
|
| 68 |
+
target_include_directories(WrapLibClang::WrapLibClang INTERFACE ${CLANG_INCLUDE_DIRS})
|
| 69 |
+
if (NOT TARGET Threads::Threads)
|
| 70 |
+
find_package(Threads)
|
| 71 |
+
endif()
|
| 72 |
+
qt_internal_disable_find_package_global_promotion(Threads::Threads)
|
| 73 |
+
# lupdate must also link to LLVM when using clang-cpp
|
| 74 |
+
set(__qt_clang_genex_condition "$<AND:$<TARGET_EXISTS:clang-cpp>,$<TARGET_EXISTS:LLVM>>")
|
| 75 |
+
set(__qt_clang_genex "$<IF:${__qt_clang_genex_condition},clang-cpp;LLVM,clangHandleCXX>")
|
| 76 |
+
target_link_libraries(WrapLibClang::WrapLibClang
|
| 77 |
+
INTERFACE libclang
|
| 78 |
+
"${__qt_clang_genex}"
|
| 79 |
+
Threads::Threads
|
| 80 |
+
)
|
| 81 |
+
|
| 82 |
+
foreach(version MAJOR MINOR PATCH)
|
| 83 |
+
set(QT_LIB_CLANG_VERSION_${version} ${LLVM_VERSION_${version}} CACHE STRING "" FORCE)
|
| 84 |
+
endforeach()
|
| 85 |
+
set(QT_LIB_CLANG_VERSION ${LLVM_PACKAGE_VERSION} CACHE STRING "" FORCE)
|
| 86 |
+
set(QT_LIB_CLANG_LIBDIR "${LLVM_LIBRARY_DIRS}" CACHE STRING "" FORCE)
|
| 87 |
+
set(QT_LIBCLANG_RESOURCE_DIR
|
| 88 |
+
"\"${QT_LIB_CLANG_LIBDIR}/clang/${QT_LIB_CLANG_VERSION}/include\"" CACHE STRING "" FORCE)
|
| 89 |
+
endif()
|
| 90 |
+
endif()
|
| 91 |
+
|
| 92 |
+
include(FindPackageHandleStandardArgs)
|
| 93 |
+
find_package_handle_standard_args(WrapLibClang
|
| 94 |
+
REQUIRED_VARS WrapLibClang_FOUND
|
| 95 |
+
VERSION_VAR LLVM_PACKAGE_VERSION)
|
qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindWrapOpenGL.cmake
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (C) 2022 The Qt Company Ltd.
|
| 2 |
+
# SPDX-License-Identifier: BSD-3-Clause
|
| 3 |
+
|
| 4 |
+
# We can't create the same interface imported target multiple times, CMake will complain if we do
|
| 5 |
+
# that. This can happen if the find_package call is done in multiple different subdirectories.
|
| 6 |
+
if(TARGET WrapOpenGL::WrapOpenGL)
|
| 7 |
+
set(WrapOpenGL_FOUND ON)
|
| 8 |
+
return()
|
| 9 |
+
endif()
|
| 10 |
+
|
| 11 |
+
set(WrapOpenGL_FOUND OFF)
|
| 12 |
+
|
| 13 |
+
find_package(OpenGL ${WrapOpenGL_FIND_VERSION})
|
| 14 |
+
|
| 15 |
+
if (OpenGL_FOUND)
|
| 16 |
+
set(WrapOpenGL_FOUND ON)
|
| 17 |
+
|
| 18 |
+
add_library(WrapOpenGL::WrapOpenGL INTERFACE IMPORTED)
|
| 19 |
+
if(APPLE)
|
| 20 |
+
# CMake 3.27 and older:
|
| 21 |
+
# On Darwin platforms FindOpenGL sets IMPORTED_LOCATION to the absolute path of the library
|
| 22 |
+
# within the framework. This ends up as an absolute path link flag, which we don't want,
|
| 23 |
+
# because that makes our .prl files un-relocatable.
|
| 24 |
+
# Extract the framework path instead, and use that in INTERFACE_LINK_LIBRARIES,
|
| 25 |
+
# which CMake ends up transforming into a relocatable -framework flag.
|
| 26 |
+
# See https://gitlab.kitware.com/cmake/cmake/-/issues/20871 for details.
|
| 27 |
+
#
|
| 28 |
+
# CMake 3.28 and above:
|
| 29 |
+
# IMPORTED_LOCATION is the absolute path the the OpenGL.framework folder.
|
| 30 |
+
get_target_property(__opengl_fw_lib_path OpenGL::GL IMPORTED_LOCATION)
|
| 31 |
+
if(__opengl_fw_lib_path AND NOT __opengl_fw_lib_path MATCHES "/([^/]+)\\.framework$")
|
| 32 |
+
get_filename_component(__opengl_fw_path "${__opengl_fw_lib_path}" DIRECTORY)
|
| 33 |
+
endif()
|
| 34 |
+
|
| 35 |
+
if(NOT __opengl_fw_path)
|
| 36 |
+
# Just a safety measure in case if no OpenGL::GL target exists.
|
| 37 |
+
set(__opengl_fw_path "-framework OpenGL")
|
| 38 |
+
endif()
|
| 39 |
+
|
| 40 |
+
find_library(WrapOpenGL_AGL NAMES AGL)
|
| 41 |
+
if(WrapOpenGL_AGL)
|
| 42 |
+
set(__opengl_agl_fw_path "${WrapOpenGL_AGL}")
|
| 43 |
+
endif()
|
| 44 |
+
if(NOT __opengl_agl_fw_path)
|
| 45 |
+
set(__opengl_agl_fw_path "-framework AGL")
|
| 46 |
+
endif()
|
| 47 |
+
|
| 48 |
+
target_link_libraries(WrapOpenGL::WrapOpenGL INTERFACE ${__opengl_fw_path})
|
| 49 |
+
target_link_libraries(WrapOpenGL::WrapOpenGL INTERFACE ${__opengl_agl_fw_path})
|
| 50 |
+
else()
|
| 51 |
+
target_link_libraries(WrapOpenGL::WrapOpenGL INTERFACE OpenGL::GL)
|
| 52 |
+
endif()
|
| 53 |
+
elseif(UNIX AND NOT APPLE AND NOT CMAKE_SYSTEM_NAME STREQUAL "Integrity")
|
| 54 |
+
# Requesting only the OpenGL component ensures CMake does not mark the package as
|
| 55 |
+
# not found if neither GLX nor libGL are available. This allows finding OpenGL
|
| 56 |
+
# on an X11-less Linux system.
|
| 57 |
+
find_package(OpenGL ${WrapOpenGL_FIND_VERSION} COMPONENTS OpenGL)
|
| 58 |
+
if (OpenGL_FOUND)
|
| 59 |
+
set(WrapOpenGL_FOUND ON)
|
| 60 |
+
add_library(WrapOpenGL::WrapOpenGL INTERFACE IMPORTED)
|
| 61 |
+
target_link_libraries(WrapOpenGL::WrapOpenGL INTERFACE OpenGL::OpenGL)
|
| 62 |
+
endif()
|
| 63 |
+
endif()
|
| 64 |
+
|
| 65 |
+
include(FindPackageHandleStandardArgs)
|
| 66 |
+
find_package_handle_standard_args(WrapOpenGL DEFAULT_MSG WrapOpenGL_FOUND)
|
qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindWrapOpenSSL.cmake
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (C) 2022 The Qt Company Ltd.
|
| 2 |
+
# SPDX-License-Identifier: BSD-3-Clause
|
| 3 |
+
|
| 4 |
+
# We can't create the same interface imported target multiple times, CMake will complain if we do
|
| 5 |
+
# that. This can happen if the find_package call is done in multiple different subdirectories.
|
| 6 |
+
if(TARGET WrapOpenSSL::WrapOpenSSL)
|
| 7 |
+
set(WrapOpenSSL_FOUND ON)
|
| 8 |
+
return()
|
| 9 |
+
endif()
|
| 10 |
+
|
| 11 |
+
set(WrapOpenSSL_FOUND OFF)
|
| 12 |
+
|
| 13 |
+
# Reuse logic from the headers find script.
|
| 14 |
+
find_package(WrapOpenSSLHeaders ${WrapOpenSSL_FIND_VERSION})
|
| 15 |
+
|
| 16 |
+
if(TARGET OpenSSL::SSL)
|
| 17 |
+
if(WIN32)
|
| 18 |
+
get_target_property(libType OpenSSL::Crypto TYPE)
|
| 19 |
+
if(libType STREQUAL "ALIAS")
|
| 20 |
+
get_target_property(writableLib OpenSSL::Crypto ALIASED_TARGET)
|
| 21 |
+
else()
|
| 22 |
+
set(writableLib OpenSSL::Crypto)
|
| 23 |
+
endif()
|
| 24 |
+
set_property(TARGET ${writableLib} APPEND PROPERTY INTERFACE_LINK_LIBRARIES ws2_32 crypt32)
|
| 25 |
+
unset(libType)
|
| 26 |
+
unset(writableLib)
|
| 27 |
+
endif()
|
| 28 |
+
|
| 29 |
+
set(WrapOpenSSL_FOUND ON)
|
| 30 |
+
|
| 31 |
+
add_library(WrapOpenSSL::WrapOpenSSL INTERFACE IMPORTED)
|
| 32 |
+
target_link_libraries(WrapOpenSSL::WrapOpenSSL INTERFACE OpenSSL::SSL)
|
| 33 |
+
endif()
|
| 34 |
+
|
| 35 |
+
include(FindPackageHandleStandardArgs)
|
| 36 |
+
find_package_handle_standard_args(WrapOpenSSL
|
| 37 |
+
REQUIRED_VARS
|
| 38 |
+
OPENSSL_CRYPTO_LIBRARY
|
| 39 |
+
OPENSSL_INCLUDE_DIR
|
| 40 |
+
VERSION_VAR
|
| 41 |
+
OPENSSL_VERSION
|
| 42 |
+
)
|
qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindWrapOpenSSLHeaders.cmake
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (C) 2022 The Qt Company Ltd.
|
| 2 |
+
# SPDX-License-Identifier: BSD-3-Clause
|
| 3 |
+
|
| 4 |
+
# We can't create the same interface imported target multiple times, CMake will complain if we do
|
| 5 |
+
# that. This can happen if the find_package call is done in multiple different subdirectories.
|
| 6 |
+
if(TARGET WrapOpenSSLHeaders::WrapOpenSSLHeaders)
|
| 7 |
+
set(WrapOpenSSLHeaders_FOUND ON)
|
| 8 |
+
return()
|
| 9 |
+
endif()
|
| 10 |
+
|
| 11 |
+
set(WrapOpenSSLHeaders_FOUND OFF)
|
| 12 |
+
|
| 13 |
+
# When cross-compiling (to Android for example), we need to add the OPENSSL_ROOT_DIR as a root path,
|
| 14 |
+
# otherwise the value would just be appended to the sysroot, which is wrong.
|
| 15 |
+
if(OPENSSL_ROOT_DIR)
|
| 16 |
+
set(__find_wrap_openssl_headers_backup_root_dir "${CMAKE_FIND_ROOT_PATH}")
|
| 17 |
+
list(APPEND CMAKE_FIND_ROOT_PATH "${OPENSSL_ROOT_DIR}")
|
| 18 |
+
endif()
|
| 19 |
+
|
| 20 |
+
find_package(OpenSSL ${WrapOpenSSLHeaders_FIND_VERSION})
|
| 21 |
+
|
| 22 |
+
if(OPENSSL_ROOT_DIR)
|
| 23 |
+
set(CMAKE_FIND_ROOT_PATH "${__find_wrap_openssl_headers_backup_root_dir}")
|
| 24 |
+
endif()
|
| 25 |
+
|
| 26 |
+
# We are interested only in include headers. The libraries might be missing, so we can't check the
|
| 27 |
+
# _FOUND variable.
|
| 28 |
+
if(OPENSSL_INCLUDE_DIR)
|
| 29 |
+
set(WrapOpenSSLHeaders_FOUND ON)
|
| 30 |
+
|
| 31 |
+
add_library(WrapOpenSSLHeaders::WrapOpenSSLHeaders INTERFACE IMPORTED)
|
| 32 |
+
target_include_directories(WrapOpenSSLHeaders::WrapOpenSSLHeaders INTERFACE
|
| 33 |
+
${OPENSSL_INCLUDE_DIR})
|
| 34 |
+
|
| 35 |
+
set_target_properties(WrapOpenSSLHeaders::WrapOpenSSLHeaders PROPERTIES
|
| 36 |
+
_qt_is_nolink_target TRUE)
|
| 37 |
+
endif()
|
| 38 |
+
|
| 39 |
+
include(FindPackageHandleStandardArgs)
|
| 40 |
+
find_package_handle_standard_args(WrapOpenSSLHeaders
|
| 41 |
+
REQUIRED_VARS
|
| 42 |
+
OPENSSL_INCLUDE_DIR
|
| 43 |
+
VERSION_VAR
|
| 44 |
+
OPENSSL_VERSION
|
| 45 |
+
)
|
qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindWrapPCRE2.cmake
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (C) 2022 The Qt Company Ltd.
|
| 2 |
+
# SPDX-License-Identifier: BSD-3-Clause
|
| 3 |
+
|
| 4 |
+
include(QtFindWrapHelper NO_POLICY_SCOPE)
|
| 5 |
+
|
| 6 |
+
qt_find_package_system_or_bundled(wrap_pcre2
|
| 7 |
+
FRIENDLY_PACKAGE_NAME "PCRE2"
|
| 8 |
+
WRAP_PACKAGE_TARGET "WrapPCRE2::WrapPCRE2"
|
| 9 |
+
WRAP_PACKAGE_FOUND_VAR_NAME "WrapPCRE2_FOUND"
|
| 10 |
+
BUNDLED_PACKAGE_NAME "BundledPcre2"
|
| 11 |
+
BUNDLED_PACKAGE_TARGET "BundledPcre2"
|
| 12 |
+
SYSTEM_PACKAGE_NAME "WrapSystemPCRE2"
|
| 13 |
+
SYSTEM_PACKAGE_TARGET "WrapSystemPCRE2::WrapSystemPCRE2"
|
| 14 |
+
)
|
qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindWrapPNG.cmake
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (C) 2022 The Qt Company Ltd.
|
| 2 |
+
# SPDX-License-Identifier: BSD-3-Clause
|
| 3 |
+
|
| 4 |
+
include(QtFindWrapHelper NO_POLICY_SCOPE)
|
| 5 |
+
|
| 6 |
+
qt_find_package_system_or_bundled(wrap_png
|
| 7 |
+
FRIENDLY_PACKAGE_NAME "PNG"
|
| 8 |
+
WRAP_PACKAGE_TARGET "WrapPNG::WrapPNG"
|
| 9 |
+
WRAP_PACKAGE_FOUND_VAR_NAME "WrapPNG_FOUND"
|
| 10 |
+
BUNDLED_PACKAGE_NAME "BundledLibpng"
|
| 11 |
+
BUNDLED_PACKAGE_TARGET "BundledLibpng"
|
| 12 |
+
SYSTEM_PACKAGE_NAME "WrapSystemPNG"
|
| 13 |
+
SYSTEM_PACKAGE_TARGET "WrapSystemPNG::WrapSystemPNG"
|
| 14 |
+
)
|
qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindWrapResolv.cmake
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (C) 2022 The Qt Company Ltd.
|
| 2 |
+
# Copyright (C) 2023 Intel Corpotation.
|
| 3 |
+
# SPDX-License-Identifier: BSD-3-Clause
|
| 4 |
+
|
| 5 |
+
# We can't create the same interface imported target multiple times, CMake will complain if we do
|
| 6 |
+
# that. This can happen if the find_package call is done in multiple different subdirectories.
|
| 7 |
+
if(TARGET WrapResolv::WrapResolv)
|
| 8 |
+
set(WrapResolv_FOUND ON)
|
| 9 |
+
return()
|
| 10 |
+
endif()
|
| 11 |
+
|
| 12 |
+
set(WrapResolv_FOUND OFF)
|
| 13 |
+
|
| 14 |
+
include(CheckCXXSourceCompiles)
|
| 15 |
+
include(CMakePushCheckState)
|
| 16 |
+
|
| 17 |
+
if(QNX)
|
| 18 |
+
find_library(LIBRESOLV socket)
|
| 19 |
+
else()
|
| 20 |
+
find_library(LIBRESOLV resolv)
|
| 21 |
+
endif()
|
| 22 |
+
|
| 23 |
+
cmake_push_check_state()
|
| 24 |
+
if(LIBRESOLV)
|
| 25 |
+
list(APPEND CMAKE_REQUIRED_LIBRARIES "${LIBRESOLV}")
|
| 26 |
+
endif()
|
| 27 |
+
|
| 28 |
+
check_cxx_source_compiles("
|
| 29 |
+
#include <netinet/in.h>
|
| 30 |
+
#include <resolv.h>
|
| 31 |
+
|
| 32 |
+
int main(int, char **argv)
|
| 33 |
+
{
|
| 34 |
+
res_state statep = 0;
|
| 35 |
+
int n = res_nmkquery(statep, 0, argv[1], 0, 0, NULL, 0, NULL, NULL, 0);
|
| 36 |
+
n = res_nsend(statep, NULL, 0, NULL, 0);
|
| 37 |
+
n = dn_expand(NULL, NULL, NULL, NULL, 0);
|
| 38 |
+
return n;
|
| 39 |
+
}
|
| 40 |
+
" HAVE_LIBRESOLV_FUNCTIONS)
|
| 41 |
+
|
| 42 |
+
cmake_pop_check_state()
|
| 43 |
+
|
| 44 |
+
if(HAVE_LIBRESOLV_FUNCTIONS)
|
| 45 |
+
set(WrapResolv_FOUND ON)
|
| 46 |
+
add_library(WrapResolv::WrapResolv INTERFACE IMPORTED)
|
| 47 |
+
if(LIBRESOLV)
|
| 48 |
+
target_link_libraries(WrapResolv::WrapResolv INTERFACE "${LIBRESOLV}")
|
| 49 |
+
endif()
|
| 50 |
+
endif()
|
| 51 |
+
|
| 52 |
+
include(FindPackageHandleStandardArgs)
|
| 53 |
+
find_package_handle_standard_args(WrapResolv DEFAULT_MSG WrapResolv_FOUND)
|
qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindWrapRt.cmake
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (C) 2022 The Qt Company Ltd.
|
| 2 |
+
# SPDX-License-Identifier: BSD-3-Clause
|
| 3 |
+
|
| 4 |
+
# We can't create the same interface imported target multiple times, CMake will complain if we do
|
| 5 |
+
# that. This can happen if the find_package call is done in multiple different subdirectories.
|
| 6 |
+
if(TARGET WrapRt::WrapRt)
|
| 7 |
+
set(WrapRt_FOUND ON)
|
| 8 |
+
return()
|
| 9 |
+
endif()
|
| 10 |
+
|
| 11 |
+
set(WrapRt_FOUND OFF)
|
| 12 |
+
|
| 13 |
+
include(CheckCXXSourceCompiles)
|
| 14 |
+
include(CMakePushCheckState)
|
| 15 |
+
|
| 16 |
+
find_library(LIBRT rt)
|
| 17 |
+
|
| 18 |
+
cmake_push_check_state()
|
| 19 |
+
if(LIBRT)
|
| 20 |
+
list(APPEND CMAKE_REQUIRED_LIBRARIES "${LIBRT}")
|
| 21 |
+
endif()
|
| 22 |
+
|
| 23 |
+
check_cxx_source_compiles("
|
| 24 |
+
#include <time.h>
|
| 25 |
+
#include <unistd.h>
|
| 26 |
+
|
| 27 |
+
int main(int, char **) {
|
| 28 |
+
struct timespec ts;
|
| 29 |
+
clock_gettime(CLOCK_REALTIME, &ts);
|
| 30 |
+
return 0;
|
| 31 |
+
}
|
| 32 |
+
" HAVE_GETTIME)
|
| 33 |
+
|
| 34 |
+
check_cxx_source_compiles("
|
| 35 |
+
#include <sys/types.h>
|
| 36 |
+
#include <sys/mman.h>
|
| 37 |
+
#include <fcntl.h>
|
| 38 |
+
|
| 39 |
+
int main(int, char **) {
|
| 40 |
+
shm_open(\"test\", O_RDWR | O_CREAT | O_EXCL, 0666);
|
| 41 |
+
shm_unlink(\"test\");
|
| 42 |
+
return 0;
|
| 43 |
+
}
|
| 44 |
+
" HAVE_SHM_OPEN_SHM_UNLINK)
|
| 45 |
+
|
| 46 |
+
cmake_pop_check_state()
|
| 47 |
+
|
| 48 |
+
if(HAVE_GETTIME OR HAVE_SHM_OPEN_SHM_UNLINK)
|
| 49 |
+
set(WrapRt_FOUND ON)
|
| 50 |
+
add_library(WrapRt::WrapRt INTERFACE IMPORTED)
|
| 51 |
+
if (LIBRT)
|
| 52 |
+
target_link_libraries(WrapRt::WrapRt INTERFACE "${LIBRT}")
|
| 53 |
+
endif()
|
| 54 |
+
endif()
|
| 55 |
+
|
| 56 |
+
include(FindPackageHandleStandardArgs)
|
| 57 |
+
find_package_handle_standard_args(WrapRt DEFAULT_MSG WrapRt_FOUND)
|
qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindWrapSystemDoubleConversion.cmake
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (C) 2022 The Qt Company Ltd.
|
| 2 |
+
# SPDX-License-Identifier: BSD-3-Clause
|
| 3 |
+
|
| 4 |
+
# We can't create the same interface imported target multiple times, CMake will complain if we do
|
| 5 |
+
# that. This can happen if the find_package call is done in multiple different subdirectories.
|
| 6 |
+
if(TARGET WrapSystemDoubleConversion::WrapSystemDoubleConversion)
|
| 7 |
+
set(WrapSystemDoubleConversion_FOUND ON)
|
| 8 |
+
return()
|
| 9 |
+
endif()
|
| 10 |
+
|
| 11 |
+
set(WrapSystemDoubleConversion_REQUIRED_VARS "__double_conversion_found")
|
| 12 |
+
|
| 13 |
+
# Find either Config package or Find module.
|
| 14 |
+
# Upstream can be built either with CMake and then provides a Config file, or with Scons in which
|
| 15 |
+
# case there's no Config file.
|
| 16 |
+
# A Find module might be provided by a 3rd party, for example Conan might generate a Find module.
|
| 17 |
+
find_package(double-conversion ${${CMAKE_FIND_PACKAGE_NAME}_FIND_VERSION} QUIET)
|
| 18 |
+
set(__double_conversion_target_name "double-conversion::double-conversion")
|
| 19 |
+
if(double-conversion_FOUND AND TARGET "${__double_conversion_target_name}")
|
| 20 |
+
set(__double_conversion_found TRUE)
|
| 21 |
+
# This ensures the Config file is shown in the fphsa message.
|
| 22 |
+
if(double-conversion_CONFIG)
|
| 23 |
+
list(PREPEND WrapSystemDoubleConversion_REQUIRED_VARS
|
| 24 |
+
double-conversion_CONFIG)
|
| 25 |
+
endif()
|
| 26 |
+
endif()
|
| 27 |
+
|
| 28 |
+
if(NOT __double_conversion_found)
|
| 29 |
+
list(PREPEND WrapSystemDoubleConversion_REQUIRED_VARS
|
| 30 |
+
DOUBLE_CONVERSION_LIBRARY DOUBLE_CONVERSION_INCLUDE_DIR)
|
| 31 |
+
|
| 32 |
+
find_path(DOUBLE_CONVERSION_INCLUDE_DIR
|
| 33 |
+
NAMES
|
| 34 |
+
double-conversion/double-conversion.h
|
| 35 |
+
)
|
| 36 |
+
|
| 37 |
+
find_library(DOUBLE_CONVERSION_LIBRARY_RELEASE NAMES double-conversion)
|
| 38 |
+
|
| 39 |
+
# We assume a possible debug build of this library to be named with a d suffix.
|
| 40 |
+
# Adjust accordingly if a different naming scheme is established.
|
| 41 |
+
find_library(DOUBLE_CONVERSION_LIBRARY_DEBUG NAMES double-conversiond)
|
| 42 |
+
|
| 43 |
+
include(SelectLibraryConfigurations)
|
| 44 |
+
select_library_configurations(DOUBLE_CONVERSION)
|
| 45 |
+
mark_as_advanced(DOUBLE_CONVERSION_INCLUDE_DIR DOUBLE_CONVERSION_LIBRARY)
|
| 46 |
+
set(DOUBLE_CONVERSION_INCLUDE_DIRS "${DOUBLE_CONVERSION_INCLUDE_DIR}")
|
| 47 |
+
|
| 48 |
+
if(DOUBLE_CONVERSION_LIBRARIES AND DOUBLE_CONVERSION_INCLUDE_DIRS)
|
| 49 |
+
set(__double_conversion_found TRUE)
|
| 50 |
+
endif()
|
| 51 |
+
endif()
|
| 52 |
+
|
| 53 |
+
include(FindPackageHandleStandardArgs)
|
| 54 |
+
|
| 55 |
+
set(__double_conversion_fphsa_args "")
|
| 56 |
+
if(double-conversion_VERSION)
|
| 57 |
+
set(WrapSystemDoubleConversion_VERSION "${double-conversion_VERSION}")
|
| 58 |
+
list(APPEND __double_conversion_fphsa_args VERSION_VAR WrapSystemDoubleConversion_VERSION)
|
| 59 |
+
endif()
|
| 60 |
+
|
| 61 |
+
find_package_handle_standard_args(WrapSystemDoubleConversion
|
| 62 |
+
REQUIRED_VARS ${WrapSystemDoubleConversion_REQUIRED_VARS}
|
| 63 |
+
${__double_conversion_fphsa_args})
|
| 64 |
+
|
| 65 |
+
if(WrapSystemDoubleConversion_FOUND)
|
| 66 |
+
add_library(WrapSystemDoubleConversion::WrapSystemDoubleConversion INTERFACE IMPORTED)
|
| 67 |
+
if(TARGET "${__double_conversion_target_name}")
|
| 68 |
+
target_link_libraries(WrapSystemDoubleConversion::WrapSystemDoubleConversion
|
| 69 |
+
INTERFACE "${__double_conversion_target_name}")
|
| 70 |
+
else()
|
| 71 |
+
target_link_libraries(WrapSystemDoubleConversion::WrapSystemDoubleConversion
|
| 72 |
+
INTERFACE ${DOUBLE_CONVERSION_LIBRARIES})
|
| 73 |
+
target_include_directories(WrapSystemDoubleConversion::WrapSystemDoubleConversion
|
| 74 |
+
INTERFACE ${DOUBLE_CONVERSION_INCLUDE_DIRS})
|
| 75 |
+
endif()
|
| 76 |
+
endif()
|
| 77 |
+
unset(__double_conversion_target_name)
|
| 78 |
+
unset(__double_conversion_found)
|
| 79 |
+
unset(__double_conversion_fphsa_args)
|
| 80 |
+
|
| 81 |
+
include(FeatureSummary)
|
| 82 |
+
set_package_properties(WrapSystemDoubleConversion PROPERTIES
|
| 83 |
+
URL "https://github.com/google/double-conversion"
|
| 84 |
+
DESCRIPTION "double-conversion library")
|
| 85 |
+
|
qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindWrapSystemFreetype.cmake
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (C) 2022 The Qt Company Ltd.
|
| 2 |
+
# SPDX-License-Identifier: BSD-3-Clause
|
| 3 |
+
|
| 4 |
+
# We can't create the same interface imported target multiple times, CMake will complain if we do
|
| 5 |
+
# that. This can happen if the find_package call is done in multiple different subdirectories.
|
| 6 |
+
if(TARGET WrapSystemFreetype::WrapSystemFreetype)
|
| 7 |
+
set(WrapSystemFreetype_FOUND TRUE)
|
| 8 |
+
return()
|
| 9 |
+
endif()
|
| 10 |
+
set(WrapSystemFreetype_REQUIRED_VARS __freetype_found)
|
| 11 |
+
|
| 12 |
+
# Hunter has the package named freetype, but exports the Freetype::Freetype target as upstream
|
| 13 |
+
# First try the CONFIG package, and afterwards the MODULE if not found
|
| 14 |
+
find_package(Freetype ${${CMAKE_FIND_PACKAGE_NAME}_FIND_VERSION}
|
| 15 |
+
CONFIG NAMES Freetype freetype QUIET)
|
| 16 |
+
if(NOT Freetype_FOUND)
|
| 17 |
+
find_package(Freetype ${${CMAKE_FIND_PACKAGE_NAME}_FIND_VERSION} QUIET MODULE)
|
| 18 |
+
endif()
|
| 19 |
+
|
| 20 |
+
if(Freetype_FOUND)
|
| 21 |
+
# vcpkg defines a lower case target name, while upstream Find module defines a prefixed
|
| 22 |
+
# upper case name.
|
| 23 |
+
set(__freetype_potential_target_names Freetype::Freetype freetype)
|
| 24 |
+
foreach(__freetype_potential_target_name ${__freetype_potential_target_names})
|
| 25 |
+
if(TARGET "${__freetype_potential_target_name}")
|
| 26 |
+
set(__freetype_target_name "${__freetype_potential_target_name}")
|
| 27 |
+
set(__freetype_found TRUE)
|
| 28 |
+
break()
|
| 29 |
+
endif()
|
| 30 |
+
endforeach()
|
| 31 |
+
endif()
|
| 32 |
+
|
| 33 |
+
if(FREETYPE_LIBRARIES)
|
| 34 |
+
list(PREPEND WrapSystemFreetype_REQUIRED_VARS FREETYPE_LIBRARIES)
|
| 35 |
+
endif()
|
| 36 |
+
if(Freetype_VERSION)
|
| 37 |
+
set(WrapSystemFreetype_VERSION "${Freetype_VERSION}")
|
| 38 |
+
elseif(FREETYPE_VERSION_STRING)
|
| 39 |
+
set(WrapSystemFreetype_VERSION "${FREETYPE_VERSION_STRING}")
|
| 40 |
+
endif()
|
| 41 |
+
|
| 42 |
+
include(FindPackageHandleStandardArgs)
|
| 43 |
+
find_package_handle_standard_args(WrapSystemFreetype
|
| 44 |
+
REQUIRED_VARS ${WrapSystemFreetype_REQUIRED_VARS}
|
| 45 |
+
VERSION_VAR WrapSystemFreetype_VERSION)
|
| 46 |
+
|
| 47 |
+
if(WrapSystemFreetype_FOUND)
|
| 48 |
+
add_library(WrapSystemFreetype::WrapSystemFreetype INTERFACE IMPORTED)
|
| 49 |
+
target_link_libraries(WrapSystemFreetype::WrapSystemFreetype
|
| 50 |
+
INTERFACE "${__freetype_target_name}")
|
| 51 |
+
endif()
|
| 52 |
+
unset(__freetype_target_name)
|
| 53 |
+
unset(__freetype_found)
|
qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindWrapSystemHarfbuzz.cmake
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (C) 2022 The Qt Company Ltd.
|
| 2 |
+
# SPDX-License-Identifier: BSD-3-Clause
|
| 3 |
+
|
| 4 |
+
# We can't create the same interface imported target multiple times, CMake will complain if we do
|
| 5 |
+
# that. This can happen if the find_package call is done in multiple different subdirectories.
|
| 6 |
+
if(TARGET WrapSystemHarfbuzz::WrapSystemHarfbuzz)
|
| 7 |
+
set(WrapSystemHarfbuzz_FOUND TRUE)
|
| 8 |
+
return()
|
| 9 |
+
endif()
|
| 10 |
+
set(WrapSystemHarfbuzz_REQUIRED_VARS __harfbuzz_found)
|
| 11 |
+
|
| 12 |
+
find_package(harfbuzz ${${CMAKE_FIND_PACKAGE_NAME}_FIND_VERSION} QUIET)
|
| 13 |
+
|
| 14 |
+
# Gentoo has some buggy version of a harfbuzz Config file. Check if include paths are valid.
|
| 15 |
+
set(__harfbuzz_target_name "harfbuzz::harfbuzz")
|
| 16 |
+
if(harfbuzz_FOUND AND TARGET "${__harfbuzz_target_name}")
|
| 17 |
+
get_property(__harfbuzz_include_paths TARGET "${__harfbuzz_target_name}"
|
| 18 |
+
PROPERTY INTERFACE_INCLUDE_DIRECTORIES)
|
| 19 |
+
foreach(__harfbuzz_include_dir ${__harfbuzz_include_paths})
|
| 20 |
+
if(NOT EXISTS "${__harfbuzz_include_dir}")
|
| 21 |
+
# Must be the broken Gentoo harfbuzzConfig.cmake file. Try to use pkg-config instead.
|
| 22 |
+
set(__harfbuzz_broken_config_file TRUE)
|
| 23 |
+
break()
|
| 24 |
+
endif()
|
| 25 |
+
endforeach()
|
| 26 |
+
|
| 27 |
+
set(__harfbuzz_found TRUE)
|
| 28 |
+
if(harfbuzz_VERSION)
|
| 29 |
+
set(WrapSystemHarfbuzz_VERSION "${harfbuzz_VERSION}")
|
| 30 |
+
endif()
|
| 31 |
+
else()
|
| 32 |
+
get_cmake_property(__packages_not_found PACKAGES_NOT_FOUND)
|
| 33 |
+
if(__packages_not_found)
|
| 34 |
+
list(REMOVE_ITEM __packages_not_found harfbuzz)
|
| 35 |
+
set_property(GLOBAL PROPERTY PACKAGES_NOT_FOUND "${__packages_not_found}")
|
| 36 |
+
endif()
|
| 37 |
+
unset(__packages_not_found)
|
| 38 |
+
endif()
|
| 39 |
+
|
| 40 |
+
if(__harfbuzz_broken_config_file OR NOT __harfbuzz_found)
|
| 41 |
+
find_package(PkgConfig QUIET)
|
| 42 |
+
pkg_check_modules(PC_HARFBUZZ IMPORTED_TARGET "harfbuzz")
|
| 43 |
+
if(PC_HARFBUZZ_FOUND)
|
| 44 |
+
set(__harfbuzz_target_name "PkgConfig::PC_HARFBUZZ")
|
| 45 |
+
set(__harfbuzz_find_include_dirs_hints
|
| 46 |
+
HINTS ${PC_HARFBUZZ_INCLUDEDIR})
|
| 47 |
+
set(__harfbuzz_find_library_hints
|
| 48 |
+
HINTS ${PC_HARFBUZZ_LIBDIR})
|
| 49 |
+
if(PC_HARFBUZZ_VERSION)
|
| 50 |
+
set(WrapSystemHarfbuzz_VERSION "${PC_HARFBUZZ_VERSION}")
|
| 51 |
+
endif()
|
| 52 |
+
else()
|
| 53 |
+
set(__harfbuzz_target_name "Harfbuzz::Harfbuzz")
|
| 54 |
+
endif()
|
| 55 |
+
|
| 56 |
+
find_path(HARFBUZZ_INCLUDE_DIRS
|
| 57 |
+
NAMES harfbuzz/hb.h
|
| 58 |
+
${__harfbuzz_find_include_dirs_hints})
|
| 59 |
+
find_library(HARFBUZZ_LIBRARIES
|
| 60 |
+
NAMES harfbuzz
|
| 61 |
+
${__harfbuzz_find_library_hints})
|
| 62 |
+
|
| 63 |
+
if(HARFBUZZ_INCLUDE_DIRS AND HARFBUZZ_LIBRARIES)
|
| 64 |
+
set(__harfbuzz_found TRUE)
|
| 65 |
+
if(NOT PC_HARFBUZZ_FOUND)
|
| 66 |
+
add_library(${__harfbuzz_target_name} UNKNOWN IMPORTED)
|
| 67 |
+
list(TRANSFORM HARFBUZZ_INCLUDE_DIRS APPEND "/harfbuzz")
|
| 68 |
+
set_target_properties(${__harfbuzz_target_name} PROPERTIES
|
| 69 |
+
IMPORTED_LOCATION "${HARFBUZZ_LIBRARIES}"
|
| 70 |
+
INTERFACE_INCLUDE_DIRECTORIES "${HARFBUZZ_INCLUDE_DIRS}"
|
| 71 |
+
)
|
| 72 |
+
endif()
|
| 73 |
+
endif()
|
| 74 |
+
endif()
|
| 75 |
+
|
| 76 |
+
include(FindPackageHandleStandardArgs)
|
| 77 |
+
find_package_handle_standard_args(WrapSystemHarfbuzz
|
| 78 |
+
REQUIRED_VARS ${WrapSystemHarfbuzz_REQUIRED_VARS}
|
| 79 |
+
VERSION_VAR WrapSystemHarfbuzz_VERSION)
|
| 80 |
+
if(WrapSystemHarfbuzz_FOUND)
|
| 81 |
+
add_library(WrapSystemHarfbuzz::WrapSystemHarfbuzz INTERFACE IMPORTED)
|
| 82 |
+
target_link_libraries(WrapSystemHarfbuzz::WrapSystemHarfbuzz
|
| 83 |
+
INTERFACE "${__harfbuzz_target_name}")
|
| 84 |
+
endif()
|
| 85 |
+
unset(__harfbuzz_target_name)
|
| 86 |
+
unset(__harfbuzz_find_include_dirs_hints)
|
| 87 |
+
unset(__harfbuzz_find_library_hints)
|
| 88 |
+
unset(__harfbuzz_found)
|
| 89 |
+
unset(__harfbuzz_include_dir)
|
| 90 |
+
unset(__harfbuzz_broken_config_file)
|
qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindWrapSystemJpeg.cmake
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (C) 2022 The Qt Company Ltd.
|
| 2 |
+
# SPDX-License-Identifier: BSD-3-Clause
|
| 3 |
+
|
| 4 |
+
if(TARGET WrapSystemJpeg::WrapSystemJpeg)
|
| 5 |
+
set(WrapSystemJpeg_FOUND TRUE)
|
| 6 |
+
return()
|
| 7 |
+
endif()
|
| 8 |
+
set(WrapSystemJpeg_REQUIRED_VARS __jpeg_found)
|
| 9 |
+
|
| 10 |
+
find_package(JPEG ${${CMAKE_FIND_PACKAGE_NAME}_FIND_VERSION} QUIET)
|
| 11 |
+
|
| 12 |
+
set(__jpeg_target_name "JPEG::JPEG")
|
| 13 |
+
if(JPEG_FOUND AND TARGET "${__jpeg_target_name}")
|
| 14 |
+
set(__jpeg_found TRUE)
|
| 15 |
+
endif()
|
| 16 |
+
|
| 17 |
+
if(JPEG_LIBRARIES)
|
| 18 |
+
list(PREPEND WrapSystemJpeg_REQUIRED_VARS JPEG_LIBRARIES)
|
| 19 |
+
endif()
|
| 20 |
+
if(JPEG_VERSION)
|
| 21 |
+
set(WrapSystemJpeg_VERSION "${JPEG_VERSION}")
|
| 22 |
+
endif()
|
| 23 |
+
|
| 24 |
+
include(FindPackageHandleStandardArgs)
|
| 25 |
+
find_package_handle_standard_args(WrapSystemJpeg
|
| 26 |
+
REQUIRED_VARS ${WrapSystemJpeg_REQUIRED_VARS}
|
| 27 |
+
VERSION_VAR WrapSystemJpeg_VERSION)
|
| 28 |
+
|
| 29 |
+
if(WrapSystemJpeg_FOUND)
|
| 30 |
+
add_library(WrapSystemJpeg::WrapSystemJpeg INTERFACE IMPORTED)
|
| 31 |
+
target_link_libraries(WrapSystemJpeg::WrapSystemJpeg
|
| 32 |
+
INTERFACE "${__jpeg_target_name}")
|
| 33 |
+
endif()
|
| 34 |
+
unset(__jpeg_target_name)
|
| 35 |
+
unset(__jpeg_found)
|
qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindWrapSystemMd4c.cmake
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (C) 2022 The Qt Company Ltd.
|
| 2 |
+
# SPDX-License-Identifier: BSD-3-Clause
|
| 3 |
+
|
| 4 |
+
if(TARGET WrapSystemMd4c::WrapSystemMd4c)
|
| 5 |
+
set(WrapSystemMd4c_FOUND TRUE)
|
| 6 |
+
return()
|
| 7 |
+
endif()
|
| 8 |
+
set(WrapSystemMd4c_REQUIRED_VARS __md4c_found)
|
| 9 |
+
|
| 10 |
+
find_package(md4c ${${CMAKE_FIND_PACKAGE_NAME}_FIND_VERSION} QUIET)
|
| 11 |
+
|
| 12 |
+
set(__md4c_target_name "md4c::md4c")
|
| 13 |
+
|
| 14 |
+
if(md4c_FOUND)
|
| 15 |
+
set(__md4c_found TRUE)
|
| 16 |
+
|
| 17 |
+
# md4c provides a md4c::md4c target but
|
| 18 |
+
# older versions create a md4c target without
|
| 19 |
+
# namespace. If we find the old variant create
|
| 20 |
+
# a namespaced target out of the md4c target.
|
| 21 |
+
if(TARGET md4c AND NOT TARGET ${__md4c_target_name})
|
| 22 |
+
add_library(${__md4c_target_name} INTERFACE IMPORTED)
|
| 23 |
+
target_link_libraries(${__md4c_target_name} INTERFACE md4c)
|
| 24 |
+
endif()
|
| 25 |
+
|
| 26 |
+
if(md4c_VERSION)
|
| 27 |
+
set(WrapSystemMd4c_VERSION "${md4c_VERSION}")
|
| 28 |
+
endif()
|
| 29 |
+
endif()
|
| 30 |
+
|
| 31 |
+
include(FindPackageHandleStandardArgs)
|
| 32 |
+
find_package_handle_standard_args(WrapSystemMd4c
|
| 33 |
+
REQUIRED_VARS ${WrapSystemMd4c_REQUIRED_VARS}
|
| 34 |
+
VERSION_VAR WrapSystemMd4c_VERSION)
|
| 35 |
+
|
| 36 |
+
if(WrapSystemMd4c_FOUND)
|
| 37 |
+
add_library(WrapSystemMd4c::WrapSystemMd4c INTERFACE IMPORTED)
|
| 38 |
+
target_link_libraries(WrapSystemMd4c::WrapSystemMd4c
|
| 39 |
+
INTERFACE "${__md4c_target_name}")
|
| 40 |
+
endif()
|
| 41 |
+
|
| 42 |
+
unset(__md4c_found)
|
| 43 |
+
unset(__md4c_target_name)
|
qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindWrapSystemPCRE2.cmake
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (C) 2022 The Qt Company Ltd.
|
| 2 |
+
# SPDX-License-Identifier: BSD-3-Clause
|
| 3 |
+
|
| 4 |
+
if(TARGET WrapSystemPCRE2::WrapSystemPCRE2)
|
| 5 |
+
set(WrapSystemPCRE2_FOUND TRUE)
|
| 6 |
+
return()
|
| 7 |
+
endif()
|
| 8 |
+
set(WrapSystemPCRE2_REQUIRED_VARS __pcre2_found)
|
| 9 |
+
|
| 10 |
+
find_package(PCRE2 ${${CMAKE_FIND_PACKAGE_NAME}_FIND_VERSION} COMPONENTS 16BIT QUIET)
|
| 11 |
+
|
| 12 |
+
set(__pcre2_target_name "PCRE2::16BIT")
|
| 13 |
+
if(PCRE2_FOUND AND TARGET "${__pcre2_target_name}")
|
| 14 |
+
# Hunter case.
|
| 15 |
+
set(__pcre2_found TRUE)
|
| 16 |
+
if(PCRE2_VERSION)
|
| 17 |
+
set(WrapSystemPCRE2_VERSION "${PCRE2_VERSION}")
|
| 18 |
+
endif()
|
| 19 |
+
else()
|
| 20 |
+
get_cmake_property(__packages_not_found PACKAGES_NOT_FOUND)
|
| 21 |
+
if(__packages_not_found)
|
| 22 |
+
list(REMOVE_ITEM __packages_not_found PCRE2)
|
| 23 |
+
set_property(GLOBAL PROPERTY PACKAGES_NOT_FOUND "${__packages_not_found}")
|
| 24 |
+
endif()
|
| 25 |
+
unset(__packages_not_found)
|
| 26 |
+
endif()
|
| 27 |
+
|
| 28 |
+
if(NOT __pcre2_found)
|
| 29 |
+
list(PREPEND WrapSystemPCRE2_REQUIRED_VARS PCRE2_LIBRARIES PCRE2_INCLUDE_DIRS)
|
| 30 |
+
|
| 31 |
+
find_package(PkgConfig QUIET)
|
| 32 |
+
pkg_check_modules(PC_PCRE2 QUIET "libpcre2-16")
|
| 33 |
+
|
| 34 |
+
find_path(PCRE2_INCLUDE_DIRS
|
| 35 |
+
NAMES pcre2.h
|
| 36 |
+
HINTS ${PC_PCRE2_INCLUDEDIR})
|
| 37 |
+
find_library(PCRE2_LIBRARY_RELEASE
|
| 38 |
+
NAMES pcre2-16
|
| 39 |
+
HINTS ${PC_PCRE2_LIBDIR})
|
| 40 |
+
find_library(PCRE2_LIBRARY_DEBUG
|
| 41 |
+
NAMES pcre2-16d pcre2-16
|
| 42 |
+
HINTS ${PC_PCRE2_LIBDIR})
|
| 43 |
+
include(SelectLibraryConfigurations)
|
| 44 |
+
select_library_configurations(PCRE2)
|
| 45 |
+
|
| 46 |
+
if(PC_PCRE2_VERSION)
|
| 47 |
+
set(WrapSystemPCRE2_VERSION "${PC_PCRE2_VERSION}")
|
| 48 |
+
endif()
|
| 49 |
+
|
| 50 |
+
if (PCRE2_LIBRARIES AND PCRE2_INCLUDE_DIRS)
|
| 51 |
+
set(__pcre2_found TRUE)
|
| 52 |
+
endif()
|
| 53 |
+
endif()
|
| 54 |
+
|
| 55 |
+
include(FindPackageHandleStandardArgs)
|
| 56 |
+
find_package_handle_standard_args(WrapSystemPCRE2
|
| 57 |
+
REQUIRED_VARS ${WrapSystemPCRE2_REQUIRED_VARS}
|
| 58 |
+
VERSION_VAR WrapSystemPCRE2_VERSION)
|
| 59 |
+
if(WrapSystemPCRE2_FOUND)
|
| 60 |
+
add_library(WrapSystemPCRE2::WrapSystemPCRE2 INTERFACE IMPORTED)
|
| 61 |
+
if(TARGET "${__pcre2_target_name}")
|
| 62 |
+
target_link_libraries(WrapSystemPCRE2::WrapSystemPCRE2 INTERFACE "${__pcre2_target_name}")
|
| 63 |
+
else()
|
| 64 |
+
target_link_libraries(WrapSystemPCRE2::WrapSystemPCRE2 INTERFACE ${PCRE2_LIBRARIES})
|
| 65 |
+
target_include_directories(WrapSystemPCRE2::WrapSystemPCRE2 INTERFACE ${PCRE2_INCLUDE_DIRS})
|
| 66 |
+
endif()
|
| 67 |
+
endif()
|
| 68 |
+
unset(__pcre2_target_name)
|
| 69 |
+
unset(__pcre2_found)
|
qt/6.8.1/msvc2022_64/lib/cmake/Qt6/FindWrapSystemPNG.cmake
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (C) 2022 The Qt Company Ltd.
|
| 2 |
+
# SPDX-License-Identifier: BSD-3-Clause
|
| 3 |
+
|
| 4 |
+
# We can't create the same interface imported target multiple times, CMake will complain if we do
|
| 5 |
+
# that. This can happen if the find_package call is done in multiple different subdirectories.
|
| 6 |
+
if(TARGET WrapSystemPNG::WrapSystemPNG)
|
| 7 |
+
set(WrapSystemPNG_FOUND TRUE)
|
| 8 |
+
return()
|
| 9 |
+
endif()
|
| 10 |
+
set(WrapSystemPNG_REQUIRED_VARS __png_found)
|
| 11 |
+
|
| 12 |
+
find_package(PNG ${${CMAKE_FIND_PACKAGE_NAME}_FIND_VERSION} QUIET)
|
| 13 |
+
|
| 14 |
+
set(__png_target_name "PNG::PNG")
|
| 15 |
+
if(PNG_FOUND AND TARGET "${__png_target_name}")
|
| 16 |
+
set(__png_found TRUE)
|
| 17 |
+
if(PNG_VERSION)
|
| 18 |
+
set(WrapSystemPNG_VERSION "${PNG_VERSION}")
|
| 19 |
+
endif()
|
| 20 |
+
endif()
|
| 21 |
+
|
| 22 |
+
if(PNG_LIBRARIES)
|
| 23 |
+
list(PREPEND WrapSystemPNG_REQUIRED_VARS PNG_LIBRARIES)
|
| 24 |
+
endif()
|
| 25 |
+
if(PNG_VERSION)
|
| 26 |
+
set(WrapSystemPNG_VERSION "${PNG_VERSION}")
|
| 27 |
+
elseif(PNG_VERSION_STRING)
|
| 28 |
+
set(WrapSystemPNG_VERSION "${PNG_VERSION_STRING}")
|
| 29 |
+
endif()
|
| 30 |
+
|
| 31 |
+
include(FindPackageHandleStandardArgs)
|
| 32 |
+
find_package_handle_standard_args(WrapSystemPNG
|
| 33 |
+
REQUIRED_VARS ${WrapSystemPNG_REQUIRED_VARS}
|
| 34 |
+
VERSION_VAR WrapSystemPNG_VERSION)
|
| 35 |
+
|
| 36 |
+
if(WrapSystemPNG_FOUND)
|
| 37 |
+
add_library(WrapSystemPNG::WrapSystemPNG INTERFACE IMPORTED)
|
| 38 |
+
target_link_libraries(WrapSystemPNG::WrapSystemPNG
|
| 39 |
+
INTERFACE "${__png_target_name}")
|
| 40 |
+
endif()
|
| 41 |
+
unset(__png_target_name)
|
| 42 |
+
unset(__png_found)
|