From 51a5be64d8298527cdf756f9f8a1e67f9b61d8ed Mon Sep 17 00:00:00 2001 From: Kurt Kartaltepe Date: Fri, 3 Apr 2020 18:47:40 -0700 Subject: [PATCH] UI: Install public headers for frontend-api Previously the api header was not targeted for installation and may have been missing for third party users. --- UI/obs-frontend-api/CMakeLists.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/UI/obs-frontend-api/CMakeLists.txt b/UI/obs-frontend-api/CMakeLists.txt index 9d69b7088..c07348d05 100644 --- a/UI/obs-frontend-api/CMakeLists.txt +++ b/UI/obs-frontend-api/CMakeLists.txt @@ -13,9 +13,13 @@ if(WIN32) list(APPEND obs-frontend-api_SOURCES obs-frontend-api.rc) endif() + +set(obs-frontend-api_PUBLIC_HEADERS + obs-frontend-api.h) + set(obs-frontend-api_HEADERS obs-frontend-internal.hpp - obs-frontend-api.h) + ${obs-frontend-api_PUBLIC_HEADERS}) add_library(obs-frontend-api SHARED ${obs-frontend-api_SOURCES} @@ -34,3 +38,4 @@ if(UNIX AND NOT APPLE) endif() install_obs_core(obs-frontend-api) +install_obs_headers(${obs-frontend-api_PUBLIC_HEADERS})