mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-01-29 08:31:54 -05:00
cmake: Set PDBALTPATH manually
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user