mirror of
https://github.com/glfw/glfw.git
synced 2025-11-18 03:53:27 +00:00
Fix IMPLIB naming for MinGW
This commit is contained in:
parent
db5fc21072
commit
4e1fbfbf92
@ -75,9 +75,15 @@ target_include_directories(webgpu INTERFACE
|
||||
)
|
||||
|
||||
if (CMAKE_SYSTEM_NAME STREQUAL "Windows")
|
||||
set_target_properties(webgpu PROPERTIES
|
||||
IMPORTED_IMPLIB ${webgpu_bins_SOURCE_DIR}/lib/${WEBGPU_LIBNAME}.lib
|
||||
)
|
||||
if (MSVC)
|
||||
set_target_properties(webgpu PROPERTIES
|
||||
IMPORTED_IMPLIB ${webgpu_bins_SOURCE_DIR}/lib/${WEBGPU_LIBNAME}.lib
|
||||
)
|
||||
else ()
|
||||
set_target_properties(webgpu PROPERTIES
|
||||
IMPORTED_IMPLIB ${webgpu_bins_SOURCE_DIR}/lib/lib${WEBGPU_LIBNAME}.a
|
||||
)
|
||||
endif ()
|
||||
elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||
set_target_properties(webgpu PROPERTIES IMPORTED_NO_SONAME True)
|
||||
else () # macOS
|
||||
|
||||
Loading…
Reference in New Issue
Block a user