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 06883c6f..4b58b1de 100644
--- a/cmake/StaticBuild.cmake
+++ b/cmake/StaticBuild.cmake
@@ -109,6 +109,9 @@ if(BUILD_STATIC)
if(X11_Xdamage_LIB)
set(X11_Xdamage_LIB "-Wl,-Bstatic -lXdamage -Wl,-Bdynamic")
endif()
+ if(X11_Xrandr_LIB)
+ set(X11_Xrandr_LIB "-Wl,-Bstatic -lXrandr -lXrender -Wl,-Bdynamic")
+ endif()
endif()
endif()