mirror of
https://github.com/zeldaret/tmc
synced 2026-06-16 14:50:22 -04:00
properly handle libpng dependency
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
file(GLOB_RECURSE sources *.c)
|
||||
|
||||
find_package(PNG REQUIRED)
|
||||
|
||||
# TODO Makefile had a debug build with -DDEBUG
|
||||
add_executable(gbagfx ${sources})
|
||||
target_include_directories(gbagfx PRIVATE .)
|
||||
# TODO properly handle these dependencies
|
||||
target_link_libraries(gbagfx PRIVATE png z)
|
||||
target_link_libraries(gbagfx PRIVATE PNG::PNG)
|
||||
|
||||
install(TARGETS gbagfx RUNTIME DESTINATION bin)
|
||||
|
||||
Reference in New Issue
Block a user