[ 
https://issues.apache.org/jira/browse/THRIFT-3958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15655219#comment-15655219
 ] 

ASF GitHub Bot commented on THRIFT-3958:
----------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/thrift/pull/1123


> CMake WITH_MT option for windows static runtime linking does not support the 
> cmake build type RelWithDebInfo
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: THRIFT-3958
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3958
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Compiler, C++ - Library
>    Affects Versions: 0.9.3
>         Environment: Visual Studio 2010, CMake 3.6
>            Reporter: James E. King, III
>            Assignee: James E. King, III
>            Priority: Trivial
>
> There is code in DefinePlatformSpecifc.cmake (note the file name has a typo 
> in it) that allows one to set -DWITH_MT=ON and that will force the build to 
> use a static runtime link.  This works for debug and release builds, but not 
> for RelWithDebInfo builds because the list in the cmake file is incomplete.
> It would be nice to switch to the ucm.cmake tools to make this a bit easier, 
> but to fix this just a couple lines need to be added to that define cmake.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to