mirror of https://github.com/AxioDL/metaforce.git
21 lines
668 B
CMake
21 lines
668 B
CMake
@PACKAGE_INIT@
|
|
|
|
include(CMakeFindDependencyMacro)
|
|
|
|
find_dependency(ZLIB REQUIRED)
|
|
|
|
include("${CMAKE_CURRENT_LIST_DIR}/@QUAZIP_EXPORT_SET@.cmake")
|
|
|
|
if(@QUAZIP_QT_MAJOR_VERSION@ EQUAL 6)
|
|
find_dependency(Qt6 REQUIRED COMPONENTS Core Core5Compat)
|
|
elseif(@QUAZIP_QT_MAJOR_VERSION@ EQUAL 5)
|
|
find_dependency(Qt5 REQUIRED COMPONENTS Core)
|
|
elseif(@QUAZIP_QT_MAJOR_VERSION@ EQUAL 4)
|
|
find_dependency(Qt4 4.5.0 REQUIRED COMPONENTS QtCore)
|
|
else()
|
|
message(FATAL_ERROR "Qt version QUAZIP_QT_MAJOR_VERSION=@QUAZIP_QT_MAJOR_VERSION@ is unsupported")
|
|
endif()
|
|
set_target_properties(QuaZip::QuaZip PROPERTIES IMPORTED_GLOBAL TRUE)
|
|
|
|
check_required_components(@QUAZIP_PACKAGE_NAME@)
|