mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 04:42:18 +02:00
cmake: Set PDBALTPATH manually
This commit is contained in:
parent
d2f0dfa341
commit
f06b2ccf55
@ -29,6 +29,9 @@ function(setup_binary_target target)
|
||||
endif()
|
||||
|
||||
if(MSVC)
|
||||
target_link_options(${target} PRIVATE
|
||||
/PDBALTPATH:$<TARGET_PDB_FILE_NAME:${target}>)
|
||||
|
||||
install(
|
||||
FILES $<TARGET_PDB_FILE:${target}>
|
||||
CONFIGURATIONS "RelWithDebInfo" "Debug"
|
||||
@ -56,6 +59,9 @@ function(setup_plugin_target target)
|
||||
_setup_plugin_target(${ARGV})
|
||||
|
||||
if(MSVC)
|
||||
target_link_options(${target} PRIVATE
|
||||
/PDBALTPATH:$<TARGET_PDB_FILE_NAME:${target}>)
|
||||
|
||||
install(
|
||||
FILES $<TARGET_PDB_FILE:${target}>
|
||||
CONFIGURATIONS "RelWithDebInfo" "Debug"
|
||||
@ -97,6 +103,9 @@ function(setup_script_plugin_target target)
|
||||
_setup_script_plugin_target(${ARGV})
|
||||
|
||||
if(MSVC)
|
||||
target_link_options(${target} PRIVATE
|
||||
/PDBALTPATH:$<TARGET_PDB_FILE_NAME:${target}>)
|
||||
|
||||
install(
|
||||
FILES $<TARGET_PDB_FILE:${target}>
|
||||
CONFIGURATIONS "RelWithDebInfo" "Debug"
|
||||
|
Loading…
Reference in New Issue
Block a user