1
0
Files
deepin-image-editor/fix-library-link.patch
2023-04-14 08:31:05 +00:00

13 lines
740 B
Diff

diff -Nurp image-editor-1.0.24/libimageviewer/CMakeLists.txt image-editor-1.0.24-new/libimageviewer/CMakeLists.txt
--- image-editor-1.0.24/libimageviewer/CMakeLists.txt 2022-11-29 10:21:28.000000000 +0800
+++ image-editor-1.0.24-new/libimageviewer/CMakeLists.txt 2023-01-21 20:16:09.285110745 +0800
@@ -96,7 +96,7 @@ set_target_properties(${TARGET_NAME} PRO
target_include_directories(${CMD_NAME} PUBLIC ${3rd_lib_INCLUDE_DIRS} ${TIFF_INCLUDE_DIRS})
-target_link_libraries(imageviewer ${3rd_lib_LIBRARIES} freeimage ${TIFF_LIBRARIES})
+target_link_libraries(imageviewer ${3rd_lib_LIBRARIES} freeimage ${TIFF_LIBRARIES} dl)
include(GNUInstallDirs)
configure_file(libimageviewer.pc.in ${PROJECT_BINARY_DIR}/libimageviewer.pc @ONLY)