libobs-d3d11: Remove unnecessary quoting of CMake generator expression
This commit is contained in:
parent
7dbde70de1
commit
c4ce85802b
1 changed files with 4 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue