Update CMakeLists.txt

This commit is contained in:
atkurtul 2020-12-31 08:36:56 +03:00 committed by GitHub
parent 0b7c7eed6a
commit 1a220f38df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -133,7 +133,6 @@ endif()
if ("${CMAKE_C_COMPILER_ID}" STREQUAL "GNU" OR
"${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" OR
"${CMAKE_C_COMPILER_ID}" STREQUAL "AppleClang")
target_compile_options(glfw PRIVATE "-Wall")
if(CMAKE_GENERATOR MATCHES "Visual Studio")
# Tell Clang-CL that this is a Clang flag
# Clang won't recognize forward slash flags with any other generator