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
39 lines
1.3 KiB
Diff
39 lines
1.3 KiB
Diff
From: Peter Lemenkov <lemenkov@gmail.com>
|
|
Date: Mon, 24 Sep 2018 15:10:16 +0200
|
|
Subject: [PATCH] Don't install conversion tool
|
|
|
|
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
|
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 1832ad42..854aea7f 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -28,15 +28,9 @@ SET_TARGET_PROPERTIES ( ${ly_lib_shared} PROPERTIES PREFIX "lib" )
|
|
|
|
SET_TARGET_PROPERTIES ( ${ly_lib_shared} PROPERTIES VERSION "0.0.0" SOVERSION 0 )
|
|
|
|
-# this creates the conversion tool
|
|
-ADD_EXECUTABLE ( yuvconvert ${ly_base_dir}/util/yuvconvert.cc )
|
|
-TARGET_LINK_LIBRARIES ( yuvconvert ${ly_lib_shared} )
|
|
-
|
|
-
|
|
INCLUDE ( FindJPEG )
|
|
if (JPEG_FOUND)
|
|
include_directories( ${JPEG_INCLUDE_DIR} )
|
|
- target_link_libraries( yuvconvert ${JPEG_LIBRARY} )
|
|
add_definitions( -DHAVE_JPEG )
|
|
endif()
|
|
|
|
@@ -78,9 +72,8 @@ if(TEST)
|
|
endif()
|
|
|
|
|
|
-# install the conversion tool, .so, and all the header files
|
|
-INSTALL ( PROGRAMS ${CMAKE_BINARY_DIR}/yuvconvert DESTINATION bin )
|
|
-INSTALL ( TARGETS ${ly_lib_shared} LIBRARY DESTINATION lib RUNTIME DESTINATION bin )
|
|
+# install .so, and all the header files
|
|
+INSTALL ( TARGETS ${ly_lib_shared} LIBRARY DESTINATION lib )
|
|
INSTALL ( DIRECTORY ${PROJECT_SOURCE_DIR}/include/ DESTINATION include )
|
|
|
|
# create the .deb and .rpm packages using cpack
|