mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-01-17 00:04:52 -05:00
18 lines
460 B
CMake
18 lines
460 B
CMake
|
|
find_path(ZLIB_INCLUDE_DIR
|
|
PATHS ${SWG_EXTERNALS_FIND}/Zlib/include
|
|
NAMES zlib.h )
|
|
|
|
|
|
find_library(ZLIB_LIBRARY
|
|
NAMES zlib
|
|
PATHS ${SWG_EXTERNALS_FIND}/Zlib/lib/win32)
|
|
|
|
# handle the QUIETLY and REQUIRED arguments and set OPENAL_FOUND to TRUE if
|
|
# all listed variables are TRUE
|
|
include(FindPackageHandleStandardArgs)
|
|
find_package_handle_standard_args(ZLIB DEFAULT_MSG ZLIB_INCLUDE_DIR ZLIB_LIBRARY)
|
|
|
|
mark_as_advanced(ZLIB_INCLUDE_DIR ZLIB_LIBRARY)
|
|
|