fix(build): make windows build compatible with CUDA
Description
In !947 (merged), we fixed our linux build system to be compatible with the child projects using CUDA. However, we did not manage to get the Windows build successfully.
Proposal
- There is probably something wrong using
if(MSVC)
instead of using generator expressions
Functional specifications
Workflow, UX/UI design, screenshots, etc...
Technical specifications
Details of the implementation
Test plan
Describe how you will verify that the implementation fulfils the specifications