mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-08 13:14:56 +00:00
Make all libraries STATIC for now
For shared library to work on Windows to work, we need to add declspec(export) and declspec(import) annotations to the symbols to export. This fixes the problem by making all libraries static on Windows, but we'll need to revisit and do proper symbol exports.
This commit is contained in:
committed by
Corentin Wallez
parent
5fbdff6888
commit
26275d0a16
@@ -24,7 +24,7 @@ if (APPLE)
|
||||
)
|
||||
endif()
|
||||
|
||||
add_library(utils SHARED ${UTILS_SOURCES})
|
||||
add_library(utils STATIC ${UTILS_SOURCES})
|
||||
target_link_libraries(utils nxt_backend nxt_wire shaderc nxtcpp nxt)
|
||||
SetCXX14(utils)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user