diff --git a/layers/CMakeLists.txt b/layers/CMakeLists.txt
index 640ac8471..19caed0ed 100644
--- a/layers/CMakeLists.txt
+++ b/layers/CMakeLists.txt
@@ -23,7 +23,7 @@
 # https://github.com/KhronosGroup/Vulkan-ValidationLayers/issues/4640
 add_compile_definitions(XXH_NO_LONG_LONG)
 
-add_library(VkLayer_utils STATIC)
+add_library(VkLayer_utils SHARED)
 target_sources(VkLayer_utils PRIVATE
     generated/vk_format_utils.h
     generated/vk_format_utils.cpp
@@ -158,7 +158,7 @@ else()
     message(NOTICE "VulkanVL_generated_source target requires python 3")
 endif()
 
-add_library(VkLayer_khronos_validation MODULE)
+add_library(VkLayer_khronos_validation SHARED)
 
 target_sources(VkLayer_khronos_validation PRIVATE
     generated/best_practices.cpp
