meandmyshadow-0.4-cmake.patch 513 B

123456789101112131415161718
  1. --- meandmyshadow-0.4.orig/CMakeLists.txt
  2. +++ meandmyshadow-0.4/CMakeLists.txt
  3. @@ -15,13 +15,12 @@
  4. Find_Package(CURL REQUIRED)
  5. Find_Package(LibArchive REQUIRED)
  6. Find_Package(OpenSSL REQUIRED)
  7. +Find_Package(X11 REQUIRED)
  8. #Use openGL only when compiling with HARDWARE_ACCELERATION.
  9. #Otherwise we try to find XLib.
  10. if(HARDWARE_ACCELERATION)
  11. Find_Package(OpenGL REQUIRED)
  12. -else(HARDWARE_ACCELERATION)
  13. - INCLUDE(FindX11)
  14. endif(HARDWARE_ACCELERATION)
  15. #Add the include dirs of the libraries.