cmake: use WINDOWS instead of WIN32.

This commit is contained in:
Ryan C. Gordon 2018-08-02 16:21:43 -04:00
parent e061a92dc9
commit 4d4bb2b0ed
1 changed files with 1 additions and 1 deletions

View File

@ -212,7 +212,7 @@ set(SDL_CFLAGS "")
# When building shared lib for Windows with MinGW,
# avoid the DLL having a "lib" prefix
if(WIN32)
if(WINDOWS)
set(CMAKE_SHARED_LIBRARY_PREFIX "")
endif()