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

CMakeList "GCC_OR_CLANG" doesn't work #112

Open
ZypherChan opened this issue Aug 22, 2020 · 0 comments
Open

CMakeList "GCC_OR_CLANG" doesn't work #112

ZypherChan opened this issue Aug 22, 2020 · 0 comments

Comments

@ZypherChan
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant