An update will be applied January 25th, between 12PM and 1:00PM EST (UTC -5:00). The site may be slow during that time.

Commit 30fe9f02 authored by Brad King's avatar Brad King Committed by Kitware Robot
Browse files

Merge topic 'FindSDL-mingw-mwindows'

632326a7 FindSDL: Add -mwindows to link flags for MinGW, correct wording
parents bd745173 632326a7
...@@ -122,11 +122,10 @@ if(NOT APPLE) ...@@ -122,11 +122,10 @@ if(NOT APPLE)
find_package(Threads) find_package(Threads)
endif() endif()
# MinGW needs an additional library, mwindows # MinGW needs an additional link flag, -mwindows
# It's total link flags should look like -lmingw32 -lSDLmain -lSDL -lmwindows # It's total link flags should look like -lmingw32 -lSDLmain -lSDL -mwindows
# (Actually on second look, I think it only needs one of the m* libraries.)
set(MINGW32_LIBRARY mingw32 CACHE STRING "mwindows for MinGW") set(MINGW32_LIBRARY mingw32 "-mwindows" CACHE STRING "link flags for MinGW")
endif() endif()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment