CMake: Fix PDB install directory for library installation
obs-plugintemplate uses the `obs_libraries` component to install obs components required for plugin development. The need of the separate `pdbs` directory was removed a while ago (as PDB target installation can be flagged as `OPTIONAL` and enabled for specific configurations only). This part was overlooked in that change.
This commit is contained in:
parent
6d5dd75e4a
commit
15b6128d09
@ -210,11 +210,11 @@ function(export_target target)
|
||||
|
||||
if(MSVC)
|
||||
install(
|
||||
DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/pdbs/"
|
||||
FILES $<TARGET_PDB_FILE:${target}>
|
||||
CONFIGURATIONS "RelWithDebInfo" "Debug"
|
||||
DESTINATION "${OBS_EXECUTABLE_EXPORT_DESTINATION}"
|
||||
CONFIGURATIONS Debug RelWithDebInfo
|
||||
COMPONENT obs_libraries
|
||||
EXCLUDE_FROM_ALL)
|
||||
OPTIONAL EXCLUDE_FROM_ALL)
|
||||
endif()
|
||||
|
||||
include(GenerateExportHeader)
|
||||
|
Loading…
x
Reference in New Issue
Block a user