all repos — mgba @ 85d30ac27174392c415c275d67a95badec64436a

mGBA Game Boy Advance Emulator

Build fix for MinGW
Jeffrey Pfau jeffrey@endrift.com
Wed, 15 Jan 2014 21:49:08 -0800
commit

85d30ac27174392c415c275d67a95badec64436a

parent

2b558a5a65558280e290b0d17fedbefd49178a70

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M CMakeLists.txtCMakeLists.txt

@@ -53,4 +53,4 @@ set(EXTRA_LIB ${EXTRA_LIB} rt)

endif() add_executable(${BINARY_NAME} WIN32 ${ARM_SRC} ${GBA_SRC} ${DEBUGGER_SRC} ${RENDERER_SRC} ${UTIL_SRC} ${PLATFORM_SRC} ${OS_SRC} ${MAIN_SRC}) -target_link_libraries(${BINARY_NAME} m pthread ${DEBUGGER_LIB} ${SDL_LIBRARY} ${OPENGL_LIBRARY} ${EXTRA_LIB}) +target_link_libraries(${BINARY_NAME} m ${DEBUGGER_LIB} ${SDL_LIBRARY} ${SDLMAIN_LIBRARY} ${OPENGL_LIBRARY} ${EXTRA_LIB})