Update prebuild.cmake

This commit is contained in:
Martin Kroeker 2019-06-24 19:58:36 +02:00 committed by GitHub
parent 75e8ba465c
commit cefaa71f34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ set(FU "")
if (APPLE OR (MSVC AND NOT ${CMAKE_C_COMPILER_ID} MATCHES "Clang"))
set(FU "_")
endif()
if (WIN32 AND MINGW AND NOT ${CMAKE_C_COMPILER_ID} MATCHES "Clang"))
if(CMAKE_COMPILER_IS_GNUCC AND WIN32 AND NOT CROSS)
set(FU "_")
endif()