mirror of
https://github.com/glfw/glfw.git
synced 2025-06-15 20:22:15 +00:00
Update CMakeLists.txt
This commit is contained in:
parent
0b7c7eed6a
commit
1a220f38df
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user