nesemu/gui/CMakeLists.txt

9 lines
232 B
CMake

set(HEADERS canvas.h gui.h)
set(SOURCE canvas.c gui.c)
add_library(nes_gui ${SOURCE} ${HEADERS})
find_package(SDL2 REQUIRED)
include_directories(nes_gui ${SDL2_INCLUDE_DIRS})
target_link_libraries(nes_gui log.c ${SDL2_LIBRARIES})