mirror of
https://github.com/Rosalie241/RMG.git
synced 2026-11-14 18:18:43 +01:00
3rdParty: correct mupen64plus-input-gca filename for windows
This commit is contained in:
1 parent
6420a636d1
commit
2cb20cc209
1 file changed
+3
-1
Vendored
+3
-1
@@ -16,9 +16,11 @@ endif()
|
||||
set(M64P_CORE_DIR ${THIRDPARTY_DIR}/mupen64plus-core)
|
||||
if(WIN32)
|
||||
set(SO_EXT "dll")
|
||||
set(GCA_LIB "mupen64plus_input_gca.${SO_EXT}")
|
||||
set(CORE_FILE "mupen64plus.dll")
|
||||
else(WIN32)
|
||||
set(SO_EXT "so")
|
||||
set(GCA_LIB "libmupen64plus_input_gca.${SO_EXT}")
|
||||
set(CORE_FILE "libmupen64plus.so")
|
||||
endif(WIN32)
|
||||
|
||||
@@ -121,7 +123,7 @@ if (${BUILD_INPUT_GCA} STREQUAL "1")
|
||||
BUILD_COMMAND cargo build --release
|
||||
BUILD_IN_SOURCE True
|
||||
|
||||
BUILD_BYPRODUCTS ${THIRDPARTY_DIR}/mupen64plus-input-gca/target/release/libmupen64plus_input_gca.${SO_EXT}
|
||||
BUILD_BYPRODUCTS ${THIRDPARTY_DIR}/mupen64plus-input-gca/target/release/${GCA_LIB}
|
||||
DEPENDS mupen64plus-core
|
||||
)
|
||||
endif()
|
||||
|
||||
Reference in new issue
Block a user