mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-08-05 20:55:46 +03:00
build: Set a default zlib search path for windows.
This commit is contained in:
@@ -18,6 +18,9 @@ if (ZLIB_LIBRARIES AND ZLIB_INCLUDE_DIRS)
|
|||||||
# in cache already
|
# in cache already
|
||||||
set(ZLIB_FOUND TRUE)
|
set(ZLIB_FOUND TRUE)
|
||||||
else (ZLIB_LIBRARIES AND ZLIB_INCLUDE_DIRS)
|
else (ZLIB_LIBRARIES AND ZLIB_INCLUDE_DIRS)
|
||||||
|
if (WIN32)
|
||||||
|
set(_ZLIB_DIR $ENV{PROGRAMFILES}/GnuWin32)
|
||||||
|
endif (WIN32)
|
||||||
|
|
||||||
find_path(ZLIB_INCLUDE_DIR
|
find_path(ZLIB_INCLUDE_DIR
|
||||||
NAMES
|
NAMES
|
||||||
|
Reference in New Issue
Block a user