[CMake] managed targeted code requires a '/clr' option cmake fix

Shreyas Ravishankar shreyas.r89 at gmail.com
Thu Mar 15 09:29:03 EDT 2018


 Hey Guys,

Just wanted to find out if there is a way to fix the "*managed targeted
code requires a '/clr' option*" error while compiling.

The problem is ,this projects has C# dependency. It uses #using(.dll).

In VS configuration project settings this can be given but how do you do it
using CMake?

Please share if you guys know the solution to resolve the issue.


--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20180315/82e88f7b/attachment-0001.html>


More information about the CMake mailing list