Skip to content

Commit

Permalink
ogc: add libogc link flags to pkg-config file (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
mardy authored Jan 31, 2024
1 parent d1e3510 commit 2f75b3e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2942,6 +2942,11 @@ elseif(OGC)
list(INSERT SDL_LIBS 0 "-lSDL2main")
list(APPEND EXTRA_LIBS "fat")
endif()
list(APPEND EXTRA_LDFLAGS "${OGC_ARCH_SETTINGS} ${OGC_LINKER_FLAGS}")
if(NINTENDO_WII)
list(APPEND EXTRA_LIBS "wiiuse;bte")
endif()
list(APPEND EXTRA_LIBS "ogc;m")
endif()

if(HAVE_VULKAN AND NOT SDL_LOADSO)
Expand Down

0 comments on commit 2f75b3e

Please sign in to comment.