cmake: Remove generated libobs export header from install interface

This commit is contained in:
PatTheMav
2023-04-12 17:17:00 +00:00
committed by Ryan Foster
parent 1dd6e47215
commit df4c8d21ad
+2 -2
View File
@@ -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