Skip to content

Commit bb3a277

Browse files
committed
cmake: libpng-apng: adjust AUTOMOC_MOC_OPTIONS even more
1 parent 90051ce commit bb3a277

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gui/qt/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ else()
293293
set(CMAKE_REQUIRED_INCLUDES ${PNG_INCLUDE_DIRS})
294294
check_symbol_exists(PNG_WRITE_APNG_SUPPORTED "png.h" HAVE_PROPER_APNG_LIB)
295295
if(HAVE_PROPER_APNG_LIB)
296-
set_property(TARGET CEmu PROPERTY AUTOMOC_MOC_OPTIONS "-DPNG_WRITE_APNG_SUPPORTED")
296+
set_property(TARGET CEmu APPEND PROPERTY AUTOMOC_MOC_OPTIONS "-DPNG_SUPPORT" "-DPNG_WRITE_APNG_SUPPORTED")
297297
target_compile_definitions(CEmu PRIVATE "PNG_SUPPORT")
298298
target_link_libraries(CEmu PRIVATE PNG::PNG)
299299
else()

0 commit comments

Comments
 (0)