Another stupid newbie question --<br>How does one set/change the compiler and linker flags variables? <br>Putting things like<br>&nbsp; STRING(REPLACE /MD /MT CMAKE_CXX_FLAGS_RELEASE ${CMAKE_CXX_FLAGS_RELEASE})<br>or even<br>&nbsp; SET( CMAKE_EXE_LINKER_FLAGS 
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ${CMAKE_EXE_LINKER_FLAGS} /noDefaultLib:MSVCRT /noDefaultLib:MSVCRTd <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CACHE STRING &quot;for MSVC&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp; )<br>in the root cmakelists.txt has no effect.<br>Of course the answer must be obvious, but I can&#39;t find it.
<br><br>Thanks. Tom<br><br><br>