CMake: How to specify v14.13 toolset (Side-by-side minor version)
CMake: How to specify v14.13 toolset (Side-by-side minor version)
I am trying to compile OpenCV with Cuda 9.2 enabled, and after a little bit of googling I noticed that I need to use v14.13 toolset. Therefore I installed v14.13 toolset:
Now I have both v14.13 and v14.15 toolsets installed.
However I could not figure out what parameter I should give to CMake in order to use v14.13. I googled for some time to find a documentation however I failed.
If I use -t v141, then I get the v14.15 toolset:
What should I do to get v14.13 toolset?
Note: I checked this link and will continue build with the instructions explained there. However I am still curious if there is a way to directly do it from cmake.
1 Answer
1
You should pass -T version=14.13.
See doc.
Thanks for contributing an answer to Stack Overflow!
But avoid …
To learn more, see our tips on writing great answers.
Required, but never shown
Required, but never shown
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.