mirror of
https://github.com/GerbilSoft/rom-properties.git
synced 2025-06-18 19:45:41 -04:00

It has a unique header, but the index entries table is similar to the other formats. It does *not* set the high bit to indicate NC; instead, it uses the same method as CISOv2, where the compressed block size matches the uncompressed block size. Compression algorithm is lzo1x. TODO: - JISO supports NC areas. Figure this part out. - Add LZO to extlib.
23 lines
626 B
CMake
23 lines
626 B
CMake
# Find LZO libraries and headers.
|
|
# If found, the following variables will be defined:
|
|
# - LZO_FOUND: System has LZO.
|
|
# - LZO_INCLUDE_DIRS: LZO include directories.
|
|
# - LZO_LIBRARIES: LZO libraries.
|
|
# - LZO_DEFINITIONS: Compiler switches required for using LZO.
|
|
#
|
|
# In addition, a target LZO::lzo will be created with all of
|
|
# these definitions.
|
|
#
|
|
# References:
|
|
# - https://cmake.org/Wiki/CMake:How_To_Find_Libraries
|
|
# - http://francesco-cek.com/cmake-and-gtk-3-the-easy-way/
|
|
#
|
|
|
|
INCLUDE(FindLibraryPkgConfig)
|
|
FIND_LIBRARY_PKG_CONFIG(LZO
|
|
lzo2 # pkgconfig
|
|
lzo/lzo1x.h # header
|
|
lzo2 # library
|
|
LZO::lzo # imported target
|
|
)
|