Browse Source

chore(cmake): libXss comes with pkg-config files, use them

sudden6 3 years ago
parent
commit
005f52f82a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      cmake/Dependencies.cmake

+ 2 - 2
cmake/Dependencies.cmake

@@ -122,8 +122,8 @@ search_dependency(OPENAL              PACKAGE openal)
 
 if (PLATFORM_EXTENSIONS AND UNIX AND NOT APPLE)
   # Automatic auto-away support. (X11 also using for capslock detection)
-  search_dependency(X11                 PACKAGE x11 OPTIONAL)
-  search_dependency(XSS                 LIBRARY Xss OPTIONAL)
+  search_dependency(X11               PACKAGE x11 OPTIONAL)
+  search_dependency(XSS               PACKAGE xscrnsaver OPTIONAL)
 endif()
 
 if(APPLE)