forked from external/yambar
particle/dynlist: link particle-sdk PRIVATE:ly
This commit is contained in:
parent
2f83ed1fc3
commit
bc9c33c187
3 changed files with 3 additions and 2 deletions
|
@ -5,7 +5,7 @@ target_compile_options(particle-sdk INTERFACE ${CAIRO_CFLAGS_OTHER})
|
|||
target_include_directories(particle-sdk INTERFACE ${CAIRO_INCLUDE_DIRS})
|
||||
|
||||
add_library(dynlist SHARED dynlist.c dynlist.h)
|
||||
target_link_libraries(dynlist particle-sdk)
|
||||
target_link_libraries(dynlist PRIVATE particle-sdk)
|
||||
|
||||
set(CMAKE_SHARED_MODULE_PREFIX particle_)
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
#define LOG_MODULE "dynlist"
|
||||
#include "../log.h"
|
||||
#include "../particle.h"
|
||||
|
||||
struct private {
|
||||
int left_spacing;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <stddef.h>
|
||||
#include "../particle.h"
|
||||
|
||||
struct particle;
|
||||
struct exposable *dynlist_exposable_new(
|
||||
struct exposable **exposables, size_t count, int left_spacing, int right_spacing);
|
||||
|
|
Loading…
Add table
Reference in a new issue