mirror of
https://github.com/encounter/SDL.git
synced 2025-12-16 00:17:18 +00:00
cmake: use WINDOWS instead of WIN32.
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user