Skip to content

Commit

Permalink
cmake: Fix optional target installation into wrong plugin directory
Browse files Browse the repository at this point in the history
  • Loading branch information
PatTheMav authored and RytoEX committed Oct 26, 2023
1 parent cff11c6 commit 5687800
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/windows/helpers.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function(set_target_properties_plugin target)
POST_BUILD
COMMAND "${CMAKE_COMMAND}" -E make_directory "${OBS_BUILD_DIR}/obs-plugins/64bit"
COMMAND "${CMAKE_COMMAND}" -E copy_if_different "$<TARGET_FILE:${target}>"
"$<$<CONFIG:Debug,RelWithDebInfo>:$<TARGET_PDB_FILE:${target}>>" "${OBS_BUILD_DIR}/obs-plugin/64bit"
"$<$<CONFIG:Debug,RelWithDebInfo>:$<TARGET_PDB_FILE:${target}>>" "${OBS_BUILD_DIR}/obs-plugins/64bit"
COMMENT "Copy ${target} to obs-studio directory ${OBS_BUILD_DIR}"
VERBATIM)
endif()
Expand Down

0 comments on commit 5687800

Please sign in to comment.