forked from external/yambar
particles: compile as shared libraries (plugins)
This commit is contained in:
parent
7b98ea2b7c
commit
47018104da
13 changed files with 89 additions and 130 deletions
|
@ -1,5 +1,11 @@
|
|||
cmake_minimum_required(VERSION 3.13)
|
||||
|
||||
add_library(module-sdk INTERFACE)
|
||||
target_compile_definitions(module-sdk INTERFACE _GNU_SOURCE)
|
||||
target_compile_options(module-sdk INTERFACE ${CAIRO_CFLAGS_OTHER})
|
||||
target_include_directories(module-sdk INTERFACE ${CAIRO_INCLUDE_DIRS})
|
||||
target_link_libraries(module-sdk INTERFACE ${CMAKE_THREAD_LIBS_INIT})
|
||||
|
||||
pkg_check_modules(ALSA REQUIRED alsa)
|
||||
add_library(alsa MODULE alsa.c)
|
||||
target_compile_options(alsa PRIVATE ${ALSA_CFLAGS_OTHER})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue