Takashi Iwai
123eb53ee0
To be used by libavif OBS-URL: https://build.opensuse.org/request/show/991738 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libyuv?expand=0&rev=1
19 lines
592 B
Diff
19 lines
592 B
Diff
From: Peter Lemenkov <lemenkov@gmail.com>
|
|
Date: Wed, 17 Apr 2019 12:39:42 +0300
|
|
Subject: [PATCH] Link main library against libjpeg
|
|
|
|
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
|
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index eb12ab4f..856cc975 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -31,6 +31,7 @@ SET_TARGET_PROPERTIES ( ${ly_lib_shared} PROPERTIES VERSION "0.0.0" SOVERSION 0
|
|
INCLUDE ( FindJPEG )
|
|
if (JPEG_FOUND)
|
|
include_directories( ${JPEG_INCLUDE_DIR} )
|
|
+ target_link_libraries( ${ly_lib_shared} ${JPEG_LIBRARY} )
|
|
add_definitions( -DHAVE_JPEG )
|
|
endif()
|
|
|