Skip to content

Commit c058e6b

Browse files
committed
cmake: apparently the variable is WIN32, not WINDOWS, even on Win64.
1 parent 9699bca commit c058e6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ add_library(SDL_native_midi SHARED
2121
)
2222
target_include_directories(SDL_native_midi PRIVATE ${SDL3_INCLUDE_DIRS})
2323
target_link_libraries(SDL_native_midi PRIVATE ${SDL3_LIBRARIES})
24-
if(WINDOWS)
24+
if(WIN32)
2525
target_link_libraries(SDL_native_midi PRIVATE winmm)
2626
endif()
2727
if(APPLE)

0 commit comments

Comments
 (0)