CMakeLists.txt 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. # This file is part of Desktop App Toolkit,
  2. # a set of libraries for developing nice desktop applications.
  3. #
  4. # For license and copyright information please follow this link:
  5. # https://github.com/desktop-app/legal/blob/master/LEGAL
  6. macro(add_checked_subdirectory name)
  7. if (NOT DEFINED desktop_app_skip_libs
  8. OR NOT ${name} IN_LIST desktop_app_skip_libs)
  9. add_subdirectory(${name})
  10. endif()
  11. endmacro()
  12. add_checked_subdirectory(ada)
  13. add_checked_subdirectory(angle)
  14. add_checked_subdirectory(auto_updates)
  15. add_checked_subdirectory(boost)
  16. if (add_cld3_library)
  17. add_checked_subdirectory(cld3)
  18. endif()
  19. add_checked_subdirectory(crash_reports)
  20. if (LINUX)
  21. add_checked_subdirectory(dispatch)
  22. endif()
  23. add_checked_subdirectory(expected)
  24. if (LINUX AND TARGET Qt::DBus)
  25. add_checked_subdirectory(fcitx5_qt)
  26. endif()
  27. add_checked_subdirectory(ffmpeg)
  28. if (LINUX)
  29. add_checked_subdirectory(glib)
  30. add_checked_subdirectory(glibmm)
  31. endif()
  32. add_checked_subdirectory(gsl)
  33. if (LINUX AND NOT DESKTOP_APP_DISABLE_X11_INTEGRATION)
  34. add_checked_subdirectory(hime_qt)
  35. endif()
  36. if (add_hunspell_library)
  37. add_checked_subdirectory(hunspell)
  38. endif()
  39. add_checked_subdirectory(iconv)
  40. if (LINUX AND NOT DESKTOP_APP_DISABLE_JEMALLOC)
  41. add_checked_subdirectory(jemalloc)
  42. endif()
  43. add_checked_subdirectory(jpeg)
  44. add_checked_subdirectory(kcoreaddons)
  45. add_checked_subdirectory(kimageformats)
  46. add_checked_subdirectory(lz4)
  47. add_checked_subdirectory(minizip)
  48. if (LINUX)
  49. add_checked_subdirectory(nimf_qt5)
  50. endif()
  51. add_checked_subdirectory(openal)
  52. add_checked_subdirectory(openh264)
  53. add_checked_subdirectory(openssl)
  54. add_checked_subdirectory(opus)
  55. add_checked_subdirectory(qt)
  56. add_checked_subdirectory(qr_code_generator)
  57. add_checked_subdirectory(ranges)
  58. add_checked_subdirectory(rlottie)
  59. add_checked_subdirectory(rnnoise)
  60. add_checked_subdirectory(ton)
  61. add_checked_subdirectory(variant)
  62. add_checked_subdirectory(vpx)
  63. add_checked_subdirectory(webrtc)
  64. if (LINUX AND NOT DESKTOP_APP_DISABLE_X11_INTEGRATION)
  65. add_checked_subdirectory(xcb)
  66. endif()
  67. add_checked_subdirectory(xxhash)
  68. add_checked_subdirectory(zlib)