Skip to content

Commit

Permalink
Windows|Cygwin: Missing SDL library
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Sep 1, 2019
1 parent 935c5f2 commit bfbc98b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doomsday/cmake/FindSDL2Libs.cmake
Expand Up @@ -46,6 +46,9 @@ elseif (WIN32 OR CYGWIN)

# Define the target.
add_library (SDL2 INTERFACE)
if (CYGWIN)
target_link_libraries(SDL2 INTERFACE ${SDL2_DIR}/lib/${DE_ARCH}/SDL2main.lib)
endif ()
target_link_libraries (SDL2 INTERFACE ${SDL2_LIBRARY})

# Deduce the include directory.
Expand Down

0 comments on commit bfbc98b

Please sign in to comment.