CMakeLists.txt 367 B

123456789101112131415161718192021
  1. if (NOT WIN32)
  2. return()
  3. endif()
  4. project(obs-text)
  5. if(WIN32)
  6. set(obs-text_PLATFORM_SOURCES
  7. gdiplus/obs-text.cpp)
  8. set(obs-text_PLATFORM_DEPS
  9. gdiplus)
  10. endif()
  11. add_library(obs-text MODULE
  12. ${obs-text_PLATFORM_SOURCES}
  13. ${obs-text_PLATFORM_HEADERS})
  14. target_link_libraries(obs-text
  15. libobs
  16. ${obs-text_PLATFORM_DEPS})
  17. install_obs_plugin_with_data(obs-text data)