diff --git a/layers/CMakeLists.txt b/layers/CMakeLists.txt
index 640ac8471..19caed0ed 100644
--- a/layers/CMakeLists.txt
+++ b/layers/CMakeLists.txt
@@ -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
