googletest icon indicating copy to clipboard operation
googletest copied to clipboard

CMake generated projects with /MTd insteat of /MDd

Open qt1 opened this issue 2 years ago • 0 comments

Describe the issue

On Windows - when generating gtest from source using CMake it generates the projects with /MTd instead of /MDd

The configuration by default is /MDd - please see screenshots below.

Steps to reproduce the problem

Checkout git, cd googletest mkdir build cd build cmake-gui ..

The configuration is /DM and /MDd - as expected.

image

When openning the generated project the setings are /MTd instead of /MDd - which later breaks the code.

image

What version of GoogleTest are you using?

b72202078d0a7a2f2509eb5237685bcf1baea3b4

What operating system and version are you using?

Windows11

What compiler and version are you using?

Visual Studio 2022

What build system are you using?

CMake 3.23.2

Additional context

No response

qt1 avatar Feb 05 '23 17:02 qt1