Skip to content

-DCMAKE_CXX_STANDARD=17 doesn't work #270

@jievince

Description

@jievince

The cache of build is cleared, and I specify -DCMAKE_CXX_STANDARD=17, but s2 still use c++11 to compile.
But if I change the line set(CMAKE_CXX_STANDARD 11) to set(CMAKE_CXX_STANDARD 17) in CmakeLists.txt, it works.

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