mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-08-24 02:34:23 -05:00
cmake: Remove generated libobs export header from install interface
This commit is contained in:
@@ -434,8 +434,8 @@ function(target_export target)
|
||||
message(DEBUG "Generating export header for target ${target} as ${target}_EXPORT.h...")
|
||||
include(GenerateExportHeader)
|
||||
generate_export_header(${target} EXPORT_FILE_NAME "${target}_EXPORT.h")
|
||||
target_sources(${target} PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}/${target}_EXPORT.h>
|
||||
$<INSTALL_INTERFACE:${target}_EXPORT.h>)
|
||||
target_sources(${target} PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}/${target}_EXPORT.h>)
|
||||
|
||||
set_property(
|
||||
TARGET ${target}
|
||||
APPEND
|
||||
|
||||
Reference in New Issue
Block a user