mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-07-29 08:36:18 -04:00
libobs-d3d11: Remove unnecessary quoting of CMake generator expression
This commit is contained in:
@@ -25,9 +25,9 @@ target_sources(
|
||||
|
||||
configure_file(cmake/windows/obs-module.rc.in libobs-d3d11.rc)
|
||||
target_sources(libobs-d3d11 PRIVATE libobs-d3d11.rc)
|
||||
target_compile_options(libobs-d3d11 PRIVATE /wd4595)
|
||||
|
||||
target_compile_definitions(
|
||||
libobs-d3d11 PRIVATE "$<$<BOOL:${GPU_PRIORITY_VAL}>:USE_GPU_PRIORITY>"
|
||||
libobs-d3d11 PRIVATE $<$<BOOL:${GPU_PRIORITY_VAL}>:USE_GPU_PRIORITY>
|
||||
"$<IF:$<BOOL:${GPU_PRIORITY_VAL}>,GPU_PRIORITY_VAL=${GPU_PRIORITY_VAL},GPU_PRIORITY_VAL=0>")
|
||||
|
||||
target_link_libraries(libobs-d3d11 PRIVATE OBS::libobs d3d9 d3d11 d3dcompiler dxgi shcore)
|
||||
@@ -39,5 +39,6 @@ set_target_properties_obs(
|
||||
libobs-d3d11
|
||||
PROPERTIES FOLDER core
|
||||
VERSION 0
|
||||
SOVERSION ${OBS_VERSION_MAJOR})
|
||||
SOVERSION ${OBS_VERSION_MAJOR}
|
||||
COMPILE_WARNING_AS_ERROR FALSE)
|
||||
# cmake-format: on
|
||||
|
||||
Reference in New Issue
Block a user