shithub: choc

ref: 6520134b41d12a7f061d9544e5c04e7ba15377b4
dir: /pcsound/CMakeLists.txt/

View raw version
add_library(pcsound STATIC
            pcsound.c       pcsound.h
            pcsound_bsd.c
            pcsound_sdl.c
            pcsound_linux.c
            pcsound_win32.c
                            pcsound_internal.h)
target_include_directories(pcsound
                           INTERFACE "."
                           PRIVATE "${CMAKE_CURRENT_BINARY_DIR}/../")
target_link_libraries(pcsound SDL2::SDL2)
if(ENABLE_SDL2_MIXER)
    target_link_libraries(pcsound SDL2::mixer)
endif()