mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-22 07:40:24 +00:00
Configure: do not depend on pkg-config
GPUJPEG cmake doesn't currently install the pkg-config file.
This commit is contained in:
@@ -2037,9 +2037,11 @@ CFLAGS=$SAVED_CFLAGS
|
||||
CXXFLAGS=$SAVED_CXXFLAGS
|
||||
CPPFLAGS=$SAVED_CPPFLAGS
|
||||
|
||||
if test $system = Windows
|
||||
PKG_CHECK_MODULES([LIBGPUJPEG], [libgpujpeg >= 0.0.2 ], [found_gpujpeg=yes], [found_gpujpeg=no])
|
||||
|
||||
if test "$found_gpujpeg" != yes
|
||||
then
|
||||
GPUJPEG_LIB="$GPUJPEG_LIB -Lgpujpeg/Release -lgpujpeg"
|
||||
GPUJPEG_LIB="$GPUJPEG_LIB -lgpujpeg"
|
||||
SAVED_LIBS=$LIBS
|
||||
LIBS="$LIBS $GPUJPEG_LIB"
|
||||
AC_CHECK_LIB([gpujpeg], [gpujpeg_encoder_create])
|
||||
@@ -2052,8 +2054,6 @@ then
|
||||
else
|
||||
found_gpujpeg=no
|
||||
fi
|
||||
else
|
||||
PKG_CHECK_MODULES([LIBGPUJPEG], [libgpujpeg >= 0.0.2 ], [found_gpujpeg=yes], [found_gpujpeg=no])
|
||||
fi
|
||||
|
||||
if test "$gpujpeg_req" != no -a \
|
||||
|
||||
Reference in New Issue
Block a user