Fix up 64-bit gme

This commit is contained in:
Steel Titanium 2018-10-30 20:50:36 -04:00
parent 54b35c3975
commit 2f62a03f6c
5 changed files with 7 additions and 1 deletions

BIN
bin/Resources/libgme64.dll Normal file

Binary file not shown.

BIN
libs/gme/win64/libgme.dll.a Normal file

Binary file not shown.

View File

@ -1 +1,2 @@
/depend.dep
/*.o

View File

@ -1 +1,2 @@
/depend.dep
/*.o

View File

@ -321,7 +321,11 @@ if(${SRB2_CONFIG_HAVE_GME})
if(${SRB2_CONFIG_USE_INTERNAL_LIBRARIES})
set(GME_FOUND ON)
set(GME_INCLUDE_DIRS ${CMAKE_SOURCE_DIR}/libs/gme/include)
set(GME_LIBRARIES "-L${CMAKE_SOURCE_DIR}/libs/gme/win32 -lgme")
if(${SRB2_SYSTEM_BITS} EQUAL 64)
set(GME_LIBRARIES "-L${CMAKE_SOURCE_DIR}/libs/gme/win64 -lgme")
else() # 32-bit
set(GME_LIBRARIES "-L${CMAKE_SOURCE_DIR}/libs/gme/win32 -lgme")
endif()
else()
find_package(GME)
endif()