Skip to content
This repository was archived by the owner on Oct 5, 2023. It is now read-only.
This repository was archived by the owner on Oct 5, 2023. It is now read-only.

CMakeList "GCC_OR_CLANG" doesn't work #112

@ZypherChan

Description

@ZypherChan

I complie on Windows System.
And Cmake the CMakeLists in \sfntly\cpp\CMakeLists.txt.
I use the VS2019 to open the sln and found the commandline has "__wur=attribute((warn_unused_result)) -Wall -Werror -fno-exceptions".
At last, the reason is "set(GCC_OR_CLANG ((CMAKE_CXX_COMPILER_ID MATCHES "Clang") OR CMAKE_COMPILER_IS_GNUCXX))" doesn't work.

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