Skip to content

Commit

Permalink
Rename SDL_LIBRARY to SDL_LIBRARIES
Browse files Browse the repository at this point in the history
This is so that you can actually be able to compile BetterSpades and not get 'undefined reference to SDL_blahblahblah'
  • Loading branch information
groggone authored and xtreme8000 committed Oct 8, 2023
1 parent fc7ab02 commit 7fce8da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Expand Up @@ -150,7 +150,7 @@ if(ENABLE_GLFW)
endif()
if(ENABLE_SDL)
find_package(SDL2 REQUIRED)
target_link_libraries(client ${SDL2_LIBRARY})
target_link_libraries(client ${SDL2_LIBRARIES})
target_compile_definitions(client PRIVATE USE_SDL)
endif()
if(ENABLE_SOUND)
Expand Down

0 comments on commit 7fce8da

Please sign in to comment.