Bind macro definitions to the zint library target

The libpng dependency is exported to consumers, while the ZINT_TEST option
affects the build output. Both are therefore marked public
This commit is contained in:
Schaich
2021-03-22 19:33:05 +09:00
parent 3b7bdcaf90
commit 83bac8c8a5
2 changed files with 7 additions and 9 deletions

View File

@ -63,10 +63,6 @@ if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_GNUCC)
endif()
endif()
if(ZINT_TEST)
add_definitions("-DZINT_TEST")
endif()
IF(APPLE)
IF (UNIVERSAL) # TODO: make universal binary
IF(NOT ZINT_HAS_BEEN_RUN_BEFORE)