summaryrefslogtreecommitdiffstats
path: root/BuildUtils.cmake
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2020-09-19 16:28:40 +0000
committerassiduous <assiduous@diligentgraphics.com>2020-09-19 16:28:40 +0000
commit08cf4110f46c2c2d579dcfbd9d5dc74d3d441c7e (patch)
tree36df79ec0fdd6db048098c4f516fefb38643a34a /BuildUtils.cmake
parentFew minor (mostly cosmetic) updates to SRB and PSO implementations (diff)
downloadDiligentCore-08cf4110f46c2c2d579dcfbd9d5dc74d3d441c7e.tar.gz
DiligentCore-08cf4110f46c2c2d579dcfbd9d5dc74d3d441c7e.zip
Switched to using dynamic versions of engine libraries on UWP
Diffstat (limited to 'BuildUtils.cmake')
-rw-r--r--BuildUtils.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/BuildUtils.cmake b/BuildUtils.cmake
index c71eface..d601b093 100644
--- a/BuildUtils.cmake
+++ b/BuildUtils.cmake
@@ -205,9 +205,9 @@ endfunction()
# Returns default backend library type (static/dynamic) for the current platform
function(get_backend_libraries_type _LIB_TYPE)
- if(PLATFORM_WIN32 OR PLATFORM_LINUX OR PLATFORM_ANDROID)
+ if(PLATFORM_WIN32 OR PLATFORM_LINUX OR PLATFORM_ANDROID OR PLATFORM_UNIVERSAL_WINDOWS)
set(LIB_TYPE "shared")
- elseif(PLATFORM_UNIVERSAL_WINDOWS OR PLATFORM_MACOS)
+ elseif(PLATFORM_MACOS)
set(LIB_TYPE "static")
elseif(PLATFORM_IOS)
# Statically link with the engine on iOS.