Skip to content

CMakeLists.txt should not force -stdlib=libc++ #459

Open
@Olipro

Description

@Olipro

When building cpprestsdk with Clang, it is entirely plausible that you may wish to compile against libstdc++ instead of libc++.

Consequently, I suggest that the CMakeLists.txt either omit the addition of the option, make it a configurable cache option or, first detect if the builder has already inserted a desired stdlib into the CMAKE_CXX_FLAGS variable and avoid appending -lstdib=libc++ in that case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions