mirror of
https://github.com/ctruLua/ctruLua.git
synced 2025-10-28 00:39:30 +00:00
Moved lzlib to the libs directory (cleaner)
This commit is contained in:
parent
406e17d321
commit
4aad32d5ab
23 changed files with 2593 additions and 991 deletions
19
libs/lzlib/CMakeLists.txt
Normal file
19
libs/lzlib/CMakeLists.txt
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# Copyright (C) 2007-2013 LuaDist.
|
||||
# Created by Peter Drahoš
|
||||
# Redistribution and use of this file is allowed according to the terms of the MIT license.
|
||||
# For details see the COPYRIGHT file distributed with LuaDist.
|
||||
# Please note that the package source code is licensed under its own license.
|
||||
|
||||
project ( lzlib C )
|
||||
cmake_minimum_required ( VERSION 2.8 )
|
||||
include ( cmake/dist.cmake )
|
||||
include ( lua )
|
||||
|
||||
find_library ( Z_LIBRARY NAMES zlib zlibd z )
|
||||
# Find zlib
|
||||
|
||||
install_lua_module ( zlib lzlib.c zlib.def LINK ${Z_LIBRARY} )
|
||||
install_lua_module ( gzip gzip.lua )
|
||||
|
||||
install_data ( README README.lgzip )
|
||||
install_test ( test_gzip.lua test_zlib_dict.lua test_zlib2.lua test_zlib3.lua )
|
||||
Loading…
Add table
Add a link
Reference in a new issue