Commit 4d4bb2b0edbdaf87559c2f5c873425673099b1d4

Ryan C. Gordon 2018-08-02T16:21:43

cmake: use WINDOWS instead of WIN32.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5b0f7f8..608e9e2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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()