Skip to content

Commit f0e45cd

Browse files
committed
Use ${X11_XTest_LIB} rather than Xtst.
Summary: Use the cmake variable rather than the library name to link. This fixes linking on FreeBSD, where the library location is not in the default linker path. Reviewers: #freebsd, davidedmundson Reviewed By: davidedmundson Subscribers: plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D5997
1 parent 778ebff commit f0e45cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: xembed-sni-proxy/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ target_link_libraries(xembedsniproxy
5858
Qt5::DBus
5959
KF5::WindowSystem
6060
${XCB_LIBS}
61-
Xtst
61+
${X11_XTest_LIB}
6262
)
6363

6464
install(TARGETS xembedsniproxy ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})

0 commit comments

Comments
 (0)