Skip to content

Commit 3c25a7a

Browse files
committed
[graf2d] Make AfterImage dependent on builtin libgif,libjpeg and png
Both on Windows and macOS/Linux. This is necessary not to have subtle misconfigurations when dealing with parallelised builds. (cherry picked from commit 146197b)
1 parent cb437d7 commit 3c25a7a

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

cmake/modules/SearchInstalledSoftware.cmake

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -633,6 +633,15 @@ if(asimage)
633633
set(AFTERIMAGE_INCLUDE_DIR ${CMAKE_BINARY_DIR}/AFTERIMAGE-prefix/src/AFTERIMAGE)
634634
endif()
635635
endif()
636+
if(builtin_gif)
637+
add_dependencies(AFTERIMAGE BUILTIN_LIBGIF)
638+
endif()
639+
if(builtin_jpeg)
640+
add_dependencies(AFTERIMAGE BUILTIN_LIBJPEG)
641+
endif()
642+
if(builtin_png)
643+
add_dependencies(AFTERIMAGE BUILTIN_LIBPNG)
644+
endif()
636645
if(builtin_freetype)
637646
add_dependencies(AFTERIMAGE FREETYPE)
638647
endif()

0 commit comments

Comments
 (0)