set RPATH on unix build for game maker usage
parent
3f83d2a825
commit
cced5c0d94
|
@ -35,6 +35,14 @@ elseif(WIN32)
|
||||||
set(CMAKE_SHARED_LIBRARY_PREFIX "")
|
set(CMAKE_SHARED_LIBRARY_PREFIX "")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(UNIX)
|
||||||
|
SET(BIN_RPATH "\$ORIGIN/assets") #thanks yoyo games
|
||||||
|
set(CMAKE_SKIP_BUILD_RPATH TRUE)
|
||||||
|
set(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
|
||||||
|
set(CMAKE_INSTALL_RPATH ${BIN_RPATH})
|
||||||
|
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH FALSE)
|
||||||
|
endif()
|
||||||
|
|
||||||
# Source lists
|
# Source lists
|
||||||
add_library(FAudioGMS
|
add_library(FAudioGMS
|
||||||
#Public header
|
#Public header
|
||||||
|
|
BIN
gamemaker/extensions/FAudioGMS/libFAudioGMS.so (Stored with Git LFS)
Normal file → Executable file
BIN
gamemaker/extensions/FAudioGMS/libFAudioGMS.so (Stored with Git LFS)
Normal file → Executable file
Binary file not shown.
Loading…
Reference in New Issue