cmake: remove mingw lib prefix
authorMichel Zou <xantares09@hotmail.com>
Thu, 26 Nov 2020 21:12:58 +0000 (22:12 +0100)
committerLenny Komow <lenny@lunarg.com>
Tue, 1 Dec 2020 20:50:08 +0000 (13:50 -0700)
we want the dll to be named vulkan-1.dll and not libvulkan-1.dll
as it is the default on mingw (for drop-in replacement)

loader/CMakeLists.txt

index 7cc5fd7..6595118 100644 (file)
@@ -224,7 +224,9 @@ if(WIN32)
                           PROPERTIES LINK_FLAGS_DEBUG
                                      "/ignore:4098"
                                      OUTPUT_NAME
-                                     vulkan-1)
+                                     vulkan-1
+                                     PREFIX
+                                     "")
     target_link_libraries(vulkan Vulkan::Headers)
 
     if(ENABLE_WIN10_ONECORE)