nesemu/gui/CMakeLists.txt

9 lines
250 B
CMake
Raw Normal View History

set(HEADERS canvas.h gui.h window.h)
set(SOURCE canvas.c gui.c window.c)
2024-05-17 00:33:37 -04:00
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})