target_compile_definitions for QZint has been fixed

This commit is contained in:
Alexander Arin 2022-01-26 23:36:28 +03:00
parent 0d95bad7da
commit 63dd02033b

View File

@ -74,7 +74,7 @@ if (ENABLE_ZINT)
if(PNG_FOUND) if(PNG_FOUND)
target_link_libraries(QZint PRIVATE PNG::PNG) target_link_libraries(QZint PRIVATE PNG::PNG)
else(PNG_FOUND) else(PNG_FOUND)
target_compile_definitions(QZint -DNO_PNG) target_compile_definitions(QZint PRIVATE -DNO_PNG)
endif(PNG_FOUND) endif(PNG_FOUND)
endif(ENABLE_ZINT) endif(ENABLE_ZINT)