Add the zlib-bootstrap package

This commit is contained in:
Sameer Rahmani 2023-04-16 17:34:22 +01:00
parent 5febe50655
commit e127916504
Signed by: lxsameer
GPG Key ID: B0A4AF28AB9FD90B
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,25 @@
# Toolchain builder for the Serene programming language
#
# Copyright (c) 2019-2023 Sameer Rahmani <lxsameer@gnu.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, version 2.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import os
from conan.tools.cmake import CMakeToolchain, CMakeDeps
from conf.utils import get_version
from conf.base.zlib import ZlibBase
class ZlibBootstrap(ZlibBase):
name = "zlib-bootstrap"

View File

@ -0,0 +1 @@
set_target_properties(ZLIB::ZLIB PROPERTIES LOCATION ${zlib_LIB_DIRS_RELEASE}/libz.a)