Merge pull request #2635 from kkartaltepe/install-headers-1

UI: Install public headers for frontend-api
This commit is contained in:
Jim 2020-05-20 20:39:17 -07:00 committed by GitHub
commit c9e5f30a78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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})