2023-10-06 00:59:37 +02:00
|
|
|
cmake_minimum_required(VERSION 3.28...3.30)
|
2023-03-28 19:50:59 +02:00
|
|
|
|
2022-03-16 23:10:42 +01:00
|
|
|
add_library(obs-text MODULE)
|
|
|
|
add_library(OBS::text ALIAS obs-text)
|
|
|
|
|
2023-03-28 19:50:59 +02:00
|
|
|
configure_file(cmake/windows/obs-module.rc.in obs-text.rc)
|
2022-03-16 23:10:42 +01:00
|
|
|
|
|
|
|
target_sources(obs-text PRIVATE gdiplus/obs-text.cpp obs-text.rc)
|
|
|
|
|
2023-03-28 19:50:59 +02:00
|
|
|
target_link_libraries(obs-text PRIVATE OBS::libobs gdiplus)
|
2022-03-16 23:10:42 +01:00
|
|
|
|
2023-03-28 19:50:59 +02:00
|
|
|
set_target_properties_obs(obs-text PROPERTIES FOLDER plugins PREFIX "")
|