mirror of
https://github.com/vanilla-wiiu/vanilla.git
synced 2025-01-22 16:21:48 -05:00
22 lines
365 B
CMake
22 lines
365 B
CMake
add_library(vanilla STATIC
|
|
gamepad/audio.c
|
|
gamepad/command.c
|
|
gamepad/gamepad.c
|
|
gamepad/input.c
|
|
gamepad/video.c
|
|
status.c
|
|
util.c
|
|
vanilla.c
|
|
)
|
|
|
|
target_include_directories(vanilla PRIVATE
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
)
|
|
|
|
if (NOT ANDROID)
|
|
target_link_libraries(vanilla PRIVATE
|
|
pthread
|
|
)
|
|
endif()
|
|
|
|
install(TARGETS vanilla)
|