From 4d4bb2b0edbdaf87559c2f5c873425673099b1d4 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Thu, 2 Aug 2018 16:21:43 -0400 Subject: [PATCH] cmake: use WINDOWS instead of WIN32. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5b0f7f8b8..608e9e2f4 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()