mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-11 21:21:57 -04:00
Limit Dawn mod linkage to Windows
This commit is contained in:
+1
-1
@@ -64,7 +64,7 @@ function(add_mod target_name)
|
||||
WINDOWS_EXPORT_ALL_SYMBOLS OFF)
|
||||
target_compile_features(${target_name} PRIVATE cxx_std_20)
|
||||
target_link_libraries(${target_name} PRIVATE dusklight_game_headers)
|
||||
if (TARGET dawn::webgpu_dawn)
|
||||
if (WIN32 AND TARGET dawn::webgpu_dawn)
|
||||
target_link_libraries(${target_name} PRIVATE dawn::webgpu_dawn)
|
||||
endif ()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user