From 63dd02033b3f4df762827cf683326d0d05d970fd Mon Sep 17 00:00:00 2001 From: Alexander Arin Date: Wed, 26 Jan 2022 23:36:28 +0300 Subject: [PATCH] target_compile_definitions for QZint has been fixed --- 3rdparty/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3rdparty/CMakeLists.txt b/3rdparty/CMakeLists.txt index 48b4484..f1abd33 100644 --- a/3rdparty/CMakeLists.txt +++ b/3rdparty/CMakeLists.txt @@ -74,7 +74,7 @@ if (ENABLE_ZINT) if(PNG_FOUND) target_link_libraries(QZint PRIVATE PNG::PNG) else(PNG_FOUND) - target_compile_definitions(QZint -DNO_PNG) + target_compile_definitions(QZint PRIVATE -DNO_PNG) endif(PNG_FOUND) endif(ENABLE_ZINT)