Core/ScriptReloadMgr: Fixed scripts hot swapping on OS X
This commit is contained in:
1 parent
84cba8496c
commit
df1730a734
2 files changed
+53
-26
No files matched your search
@@ -85,10 +85,12 @@ function(IsDynamicLinkingRequired variable)
|
||||
set(${variable} ${IS_REQUIRED} PARENT_SCOPE)
|
||||
endfunction()
|
||||
|
||||
# Stores the native variable name
|
||||
# Stores the native variable name
|
||||
function(GetNativeSharedLibraryName module variable)
|
||||
if(WIN32)
|
||||
set(${variable} "${module}.dll" PARENT_SCOPE)
|
||||
elseif(APPLE)
|
||||
set(${variable} "lib${module}.dylib" PARENT_SCOPE)
|
||||
else()
|
||||
set(${variable} "lib${module}.so" PARENT_SCOPE)
|
||||
endif()
|
||||
|
||||
Reference in new issue
Block a user