aboutsummaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake')
-rw-r--r--cmake/StaticBuild.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/StaticBuild.cmake b/cmake/StaticBuild.cmake
index 43a0786e..9129f9db 100644
--- a/cmake/StaticBuild.cmake
+++ b/cmake/StaticBuild.cmake
@@ -112,6 +112,9 @@ if(BUILD_STATIC)
if(X11_Xrandr_LIB)
set(X11_Xrandr_LIB "-Wl,-Bstatic -lXrandr -lXrender -Wl,-Bdynamic")
endif()
+ if(X11_Xi_LIB)
+ set(X11_Xi_LIB "-Wl,-Bstatic -lXi -Wl,-Bdynamic")
+ endif()
endif()
endif()