diff options
author | S.V <svranesevic@users.noreply.github.com> | 2017-03-31 23:10:18 +0200 |
---|---|---|
committer | Gacko <gacko28@gmx.de> | 2017-04-05 22:02:34 +0200 |
commit | 886e9e839b304b7567dd655e4fa3afb2251c96ca (patch) | |
tree | 8d588662d03b90637fdd8ce6778361f7b69e02d5 /cmake/macros/ConfigureScripts.cmake | |
parent | 0b0d4c4011b1be37590104dae6a5b7a6ae378eef (diff) |
Core/ScriptReloadMgr: Fixed scripts hot swapping on OS X (#19365)7.1.5/23420
Diffstat (limited to 'cmake/macros/ConfigureScripts.cmake')
-rw-r--r-- | cmake/macros/ConfigureScripts.cmake | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cmake/macros/ConfigureScripts.cmake b/cmake/macros/ConfigureScripts.cmake index f6371a32f96..1658f47e9e2 100644 --- a/cmake/macros/ConfigureScripts.cmake +++ b/cmake/macros/ConfigureScripts.cmake @@ -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() |