Skip to content
Snippets Groups Projects
Commit 2f62a03f authored by SteelT's avatar SteelT
Browse files

Fix up 64-bit gme

parent 54b35c39
No related branches found
No related tags found
No related merge requests found
File added
File added
/depend.dep /depend.dep
/*.o
/depend.dep /depend.dep
/*.o
...@@ -321,7 +321,11 @@ if(${SRB2_CONFIG_HAVE_GME}) ...@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment