mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-06-20 01:25:39 +02:00
module/i3: break out get_socket_address()
This commit is contained in:
parent
6e44d8e04e
commit
37d15096f9
4 changed files with 102 additions and 81 deletions
|
@ -37,8 +37,10 @@ find_file(I3_IPC_H i3/ipc.h)
|
|||
if (NOT I3_IPC_H)
|
||||
message(FATAL_ERROR "cannot find header file: i3/ipc.h")
|
||||
endif ()
|
||||
add_library(i3-common STATIC EXCLUDE_FROM_ALL i3-common.c i3-common.h)
|
||||
|
||||
add_library(i3 ${lib_type} i3.c)
|
||||
target_link_libraries(i3 module-sdk dynlist PkgConfig::json)
|
||||
target_link_libraries(i3 module-sdk i3-common dynlist PkgConfig::json)
|
||||
if (ENABLE_X11)
|
||||
target_link_libraries(i3 xcb-stuff)
|
||||
endif ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue