Skip to content

Commit 1be36f3

Browse files
Fix SDL linking issue
1 parent b2a3fe4 commit 1be36f3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/GFX/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ add_library (GFX
66
Rendering.cpp)
77

88
target_link_libraries(GFX PRIVATE Game)
9+
target_link_libraries(GFX PRIVATE SDL3::SDL3)
10+
target_link_libraries(GFX PRIVATE SDL3::SDL3 SDL3_ttf::SDL3_ttf)
911

1012
install (TARGETS GFX DESTINATION bin)
1113
install (FILES Animation.hpp DESTINATION include)

0 commit comments

Comments
 (0)