Skip to content

specifying msvc runtime #349

Open
Open
@fentanyluser

Description

@fentanyluser

You can set runtime in cmake in your main CMakeLists.txt

cmake_policy(SET CMP0091 NEW)
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded")

So your project will use static runtime but everything built with hunter will still be dynamic and unlinkable. Was not able to find a way to change this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions