mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-06-21 18:05:38 +02:00
modules, particles: type-specific filename prefix
Instead of naming the shared libraries libfoo.so, add a type-specific prefix: module_foo.so, or particle_foo.so
This commit is contained in:
parent
ec4a47e5db
commit
45280416ff
3 changed files with 7 additions and 1 deletions
|
@ -6,6 +6,8 @@ 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})
|
||||
|
||||
set(CMAKE_SHARED_MODULE_PREFIX module_)
|
||||
|
||||
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