Skip to content

Commit 2f75b3e

Browse files
authored
ogc: add libogc link flags to pkg-config file (#52)
1 parent d1e3510 commit 2f75b3e

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2942,6 +2942,11 @@ elseif(OGC)
29422942
list(INSERT SDL_LIBS 0 "-lSDL2main")
29432943
list(APPEND EXTRA_LIBS "fat")
29442944
endif()
2945+
list(APPEND EXTRA_LDFLAGS "${OGC_ARCH_SETTINGS} ${OGC_LINKER_FLAGS}")
2946+
if(NINTENDO_WII)
2947+
list(APPEND EXTRA_LIBS "wiiuse;bte")
2948+
endif()
2949+
list(APPEND EXTRA_LIBS "ogc;m")
29452950
endif()
29462951

29472952
if(HAVE_VULKAN AND NOT SDL_LOADSO)

0 commit comments

Comments
 (0)