facf0c92e0
Red Bear OS is a full fork. All sources must be available from git clone with zero network access. Removed gitignore rules that excluded fetched source trees under recipes/*/source/, local/recipes/kde/*/source/, local/recipes/qt/*/source/, and vendor source trees. Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded. 127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt frameworks, mesa, wayland, DRM drivers, and every other recipe source.
29 lines
833 B
CMake
29 lines
833 B
CMake
# PNGConfig.cmake
|
|
# CMake config file compatible with the FindPNG module.
|
|
|
|
# Copyright (c) 2024 Cosmin Truta
|
|
# Written by Benjamin Buch, 2024
|
|
#
|
|
# Use, modification and distribution are subject to
|
|
# the same licensing terms and conditions as libpng.
|
|
# Please see the copyright notice in png.h or visit
|
|
# http://libpng.org/pub/png/src/libpng-LICENSE.txt
|
|
#
|
|
# SPDX-License-Identifier: libpng-2.0
|
|
|
|
include(CMakeFindDependencyMacro)
|
|
|
|
find_dependency(ZLIB REQUIRED)
|
|
|
|
include("${CMAKE_CURRENT_LIST_DIR}/PNGTargets.cmake")
|
|
|
|
if(NOT TARGET PNG::PNG)
|
|
if(TARGET PNG::png_shared)
|
|
add_library(PNG::PNG INTERFACE IMPORTED)
|
|
target_link_libraries(PNG::PNG INTERFACE PNG::png_shared)
|
|
elseif(TARGET PNG::png_static)
|
|
add_library(PNG::PNG INTERFACE IMPORTED)
|
|
target_link_libraries(PNG::PNG INTERFACE PNG::png_static)
|
|
endif()
|
|
endif()
|