forked from pool/deepin-image-editor
- Add fix-gcc-13.patch, fix build by gcc 13 - Update version to 1.0.24 * Fix bugs OBS-URL: https://build.opensuse.org/request/show/1079402 OBS-URL: https://build.opensuse.org/package/show/X11:Deepin/deepin-image-editor?expand=0&rev=11
13 lines
740 B
Diff
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)
|