blob: 85085b95d1d6798279ae8bfd03206f66d8b1dfed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
file(GLOB_RECURSE sources *.c)
set(CMAKE_FIND_FRAMEWORK LAST)
find_package(PNG REQUIRED)
# TODO Makefile had a debug build with -DDEBUG
add_executable(gbagfx ${sources})
target_include_directories(gbagfx PRIVATE .)
target_link_libraries(gbagfx PRIVATE PNG::PNG)
install(TARGETS gbagfx RUNTIME DESTINATION bin)
|