Explicitly mark static linking in CMake
When no type is given, it depends on BUILD_SHARED_LIBS value which is not desired in this case.
This commit is contained in:
parent
468ddfb34d
commit
bcdeb72189
|
@ -3,7 +3,7 @@ include_directories(
|
||||||
${XKBCOMMON_INCLUDE_DIRS}
|
${XKBCOMMON_INCLUDE_DIRS}
|
||||||
)
|
)
|
||||||
|
|
||||||
add_library(sway-common
|
add_library(sway-common STATIC
|
||||||
ipc-client.c
|
ipc-client.c
|
||||||
list.c
|
list.c
|
||||||
log.c
|
log.c
|
||||||
|
|
|
@ -22,7 +22,7 @@ WAYLAND_ADD_PROTOCOL_SERVER(proto-server-swaylock
|
||||||
swaylock
|
swaylock
|
||||||
)
|
)
|
||||||
|
|
||||||
add_library(sway-protocols
|
add_library(sway-protocols STATIC
|
||||||
${proto-client-xdg-shell}
|
${proto-client-xdg-shell}
|
||||||
${proto-client-desktop-shell}
|
${proto-client-desktop-shell}
|
||||||
${proto-server-desktop-shell}
|
${proto-server-desktop-shell}
|
||||||
|
|
|
@ -5,7 +5,7 @@ include_directories(
|
||||||
${WAYLAND_INCLUDE_DIR}
|
${WAYLAND_INCLUDE_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
add_library(sway-wayland
|
add_library(sway-wayland STATIC
|
||||||
buffers.c
|
buffers.c
|
||||||
pango.c
|
pango.c
|
||||||
registry.c
|
registry.c
|
||||||
|
|
Loading…
Reference in a new issue