fix: Windows CUDA compilation was incorrectly described #15
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes the following issues:
-ExtraCmakeFlags
param was incorrect-ExtraCmakeFlags
didn't work as full string, turned it into string array to match code belowWorked fine on CUDA 12.2 after these changes and the plugin is now more or less usable on lives with my CPU 🚀
Another thing to optimize may be to copy the mentioned DLLs from
%CUDA_TOOLKIT_ROOT_DIR%\bin
to therelease\obs-plugins\64bit
folder, but I'm unfortunately not familiar enough with CMake (first time using it for OBS stuff) to know how to do this optimally. Unless it can just happen at the end of PowerShell script?