File: link-with-libXxf86vm

package info (click to toggle)
freedv 1.3.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 2,440 kB
  • sloc: cpp: 8,723; ansic: 3,564; python: 42; makefile: 10; sh: 7
file content (15 lines) | stat: -rw-r--r-- 469 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -393,6 +393,12 @@
 if(wxWidgets_FOUND)
     include("${wxWidgets_USE_FILE}")
     list(APPEND FREEDV_LINK_LIBS ${wxWidgets_LIBRARIES})
+    message(STATUS "Looking for libXxf86vm...")
+    find_library(Xxf86vm_LIBRARY Xxf86vm)
+    message(STATUS "Xxf86vm library: ${Xxf86vm_LIBRARY}")
+    if(Xxf86vm_LIBRARY)
+      list(APPEND FREEDV_LINK_LIBS ${Xxf86vm_LIBRARY})
+    endif(Xxf86vm_LIBRARY)
 endif(wxWidgets_FOUND)
 
 #