gentl: Fix zlib path for Linux systems

This commit is contained in:
Joshua M. Doe
2021-09-21 16:34:20 -04:00
parent 1beddc703c
commit f4511c042a
3 changed files with 6 additions and 18 deletions

View File

@@ -117,6 +117,11 @@ macro_log_feature(SAPERA_FOUND "Teledyne DALSA Sapera" "Required to build Teledy
find_package(XCLIB)
macro_log_feature(XCLIB_FOUND "EPIX PIXCI" "Required to build EPIX PIXCI source element" "http://www.epixinc.com/" FALSE)
if (WIN32)
# Windows distributions of GStreamer include ZLIB
set(ZLIB_ROOT ${GSTREAMER_ROOT})
endif ()
find_package(ZLIB)
# Setup common environment
include_directories(