cmake: use WINDOWS instead of WIN32.

--HG--
extra : histedit_source : be7d5850d1e2d3ca834da337a4ac88dca63c0547
This commit is contained in:
Ryan C. Gordon 2018-08-02 16:21:43 -04:00
parent 45974c3953
commit b41191fbf2

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()