mirror of
https://github.com/Cateners/tiny_computer.git
synced 2026-05-20 16:35:47 +08:00
Update code to v1.0.14 (10)
This commit is contained in:
31
android/extern/libvncserver/cmake/Modules/FindLZO.cmake
vendored
Normal file
31
android/extern/libvncserver/cmake/Modules/FindLZO.cmake
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
# Find liblzo2
|
||||
# LZO_FOUND - system has the LZO library
|
||||
# LZO_INCLUDE_DIR - the LZO include directory
|
||||
# LZO_LIBRARIES - The libraries needed to use LZO
|
||||
|
||||
if (LZO_INCLUDE_DIR AND LZO_LIBRARIES)
|
||||
# in cache already
|
||||
SET(LZO_FOUND TRUE)
|
||||
else (LZO_INCLUDE_DIR AND LZO_LIBRARIES)
|
||||
FIND_PATH(LZO_INCLUDE_DIR NAMES lzo/lzo1x.h)
|
||||
|
||||
FIND_LIBRARY(LZO_LIBRARIES NAMES lzo2)
|
||||
|
||||
if (LZO_INCLUDE_DIR AND LZO_LIBRARIES)
|
||||
set(LZO_FOUND TRUE)
|
||||
endif (LZO_INCLUDE_DIR AND LZO_LIBRARIES)
|
||||
|
||||
if (LZO_FOUND)
|
||||
if (NOT LZO_FIND_QUIETLY)
|
||||
message(STATUS "Found LZO: ${LZO_LIBRARIES}")
|
||||
endif (NOT LZO_FIND_QUIETLY)
|
||||
else (LZO_FOUND)
|
||||
if (LZO_FIND_REQUIRED)
|
||||
message(FATAL_ERROR "Could NOT find LZO")
|
||||
else()
|
||||
message(STATUS "Could NOT find LZO")
|
||||
endif (LZO_FIND_REQUIRED)
|
||||
endif (LZO_FOUND)
|
||||
|
||||
# MARK_AS_ADVANCED(LZO_INCLUDE_DIR LZO_LIBRARIES)
|
||||
endif (LZO_INCLUDE_DIR AND LZO_LIBRARIES)
|
||||
Reference in New Issue
Block a user