add png_internal, YAZE_LIB_PNG definition

This commit is contained in:
scawful
2024-08-13 00:30:14 -04:00
parent d94735baf5
commit feaee62462
2 changed files with 9 additions and 2 deletions

View File

@@ -12,6 +12,9 @@ set(YAZE_INSTALL_CLIB OFF)
set(YAZE_BUILD_TESTS OFF)
set(YAZE_BUILD_EXTENSIONS ON)
# libpng features in bitmap.cc
add_definitions("-DYAZE_LIB_PNG=1")
# C++ Standard and CMake Specifications
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)