mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-23 11:55:11 +00:00
Fix incorrect target_compile_definitions calls
This commit is contained in:
parent
b9b4dba686
commit
4982a7900e
4 changed files with 4 additions and 4 deletions
|
@ -16,7 +16,7 @@ function(streamfx_auto_framing_resolver)
|
|||
#- NVIDIA
|
||||
streamfx_enabled_component("NVIDIA" T_CHECK)
|
||||
if(T_CHECK)
|
||||
target_compile_definitions(${COMPONENT_TARGET}
|
||||
target_compile_definitions(${COMPONENT_TARGET} PRIVATE
|
||||
PRIVATE ENABLE_NVIDIA
|
||||
)
|
||||
endif()
|
||||
|
|
|
@ -16,7 +16,7 @@ function(streamfx_denoising_resolver)
|
|||
#- NVIDIA
|
||||
streamfx_enabled_component("NVIDIA" T_CHECK)
|
||||
if(T_CHECK)
|
||||
target_compile_definitions(${COMPONENT_TARGET}
|
||||
target_compile_definitions(${COMPONENT_TARGET} PRIVATE
|
||||
ENABLE_NVIDIA
|
||||
)
|
||||
endif()
|
||||
|
|
|
@ -16,7 +16,7 @@ function(streamfx_upscaling_resolver)
|
|||
#- NVIDIA
|
||||
streamfx_enabled_component("NVIDIA" T_CHECK)
|
||||
if(T_CHECK)
|
||||
target_compile_definitions(${COMPONENT_TARGET}
|
||||
target_compile_definitions(${COMPONENT_TARGET} PRIVATE
|
||||
ENABLE_NVIDIA
|
||||
)
|
||||
endif()
|
||||
|
|
|
@ -16,7 +16,7 @@ function(streamfx_virtual_greenscreen_resolver)
|
|||
#- NVIDIA
|
||||
streamfx_enabled_component("NVIDIA" T_CHECK)
|
||||
if(T_CHECK)
|
||||
target_compile_definitions(${COMPONENT_TARGET}
|
||||
target_compile_definitions(${COMPONENT_TARGET} PRIVATE
|
||||
ENABLE_NVIDIA
|
||||
)
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue