1
0
Эх сурвалжийг харах

cmake: Remove generated libobs export header from install interface

PatTheMav 2 жил өмнө
parent
commit
df4c8d21ad

+ 2 - 2
cmake/common/helpers_common.cmake

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