Fix up 64-bit gme

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

No files matched your search

Binary file not shown.
Binary file not shown.
+1
View File
@@ -1 +1,2 @@
/depend.dep
/*.o
+1
View File
@@ -1 +1,2 @@
/depend.dep
/*.o
+5 -1
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()