Fix up 64-bit gme
This commit is contained in:
parent
54b35c3975
commit
2f62a03f6c
Binary file not shown.
Binary file not shown.
|
@ -1 +1,2 @@
|
||||||
/depend.dep
|
/depend.dep
|
||||||
|
/*.o
|
||||||
|
|
|
@ -1 +1,2 @@
|
||||||
/depend.dep
|
/depend.dep
|
||||||
|
/*.o
|
||||||
|
|
|
@ -321,7 +321,11 @@ if(${SRB2_CONFIG_HAVE_GME})
|
||||||
if(${SRB2_CONFIG_USE_INTERNAL_LIBRARIES})
|
if(${SRB2_CONFIG_USE_INTERNAL_LIBRARIES})
|
||||||
set(GME_FOUND ON)
|
set(GME_FOUND ON)
|
||||||
set(GME_INCLUDE_DIRS ${CMAKE_SOURCE_DIR}/libs/gme/include)
|
set(GME_INCLUDE_DIRS ${CMAKE_SOURCE_DIR}/libs/gme/include)
|
||||||
|
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")
|
set(GME_LIBRARIES "-L${CMAKE_SOURCE_DIR}/libs/gme/win32 -lgme")
|
||||||
|
endif()
|
||||||
else()
|
else()
|
||||||
find_package(GME)
|
find_package(GME)
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue