Merge pull request #55 from bradgrantham/master

Fix https://github.com/emoon/minifb/issues/54
This commit is contained in:
Carlos Aragonés 2021-04-30 15:00:30 +02:00 committed by GitHub
commit 1129df5af5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -118,21 +118,21 @@ endif()
if(NOT MSVC)
# Avoid default flag values
#--------------------------------------
set(CMAKE_C_FLAGS "" CACHE STRING "" FORCE)
set(CMAKE_C_FLAGS_DEBUG "" CACHE STRING "" FORCE)
set(CMAKE_C_FLAGS_RELEASE "" CACHE STRING "" FORCE)
set(CMAKE_C_FLAGS "")
set(CMAKE_C_FLAGS_DEBUG "" )
set(CMAKE_C_FLAGS_RELEASE "")
set(CMAKE_CXX_FLAGS "" CACHE STRING "" FORCE)
set(CMAKE_CXX_FLAGS_DEBUG "" CACHE STRING "" FORCE)
set(CMAKE_CXX_FLAGS_RELEASE "" CACHE STRING "" FORCE)
set(CMAKE_CXX_FLAGS "")
set(CMAKE_CXX_FLAGS_DEBUG "")
set(CMAKE_CXX_FLAGS_RELEASE "")
set(CMAKE_OBJC_FLAGS "" CACHE STRING "" FORCE)
set(CMAKE_OBJC_FLAGS_DEBUG "" CACHE STRING "" FORCE)
set(CMAKE_OBJC_FLAGS_RELEASE "" CACHE STRING "" FORCE)
set(CMAKE_OBJC_FLAGS "")
set(CMAKE_OBJC_FLAGS_DEBUG "")
set(CMAKE_OBJC_FLAGS_RELEASE "")
set(CMAKE_OBJCXX_FLAGS "" CACHE STRING "" FORCE)
set(CMAKE_OBJCXX_FLAGS_DEBUG "" CACHE STRING "" FORCE)
set(CMAKE_OBJCXX_FLAGS_RELEASE "" CACHE STRING "" FORCE)
set(CMAKE_OBJCXX_FLAGS "")
set(CMAKE_OBJCXX_FLAGS_DEBUG "")
set(CMAKE_OBJCXX_FLAGS_RELEASE "")
# Set our flags
#--------------------------------------