Skip to content
This repository was archived by the owner on Oct 7, 2025. It is now read-only.

Commit 5f76e74

Browse files
committed
fix cmake (3)
1 parent 9483c0a commit 5f76e74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

DawnConfig.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
cmake_minimum_required(VERSION 3.31)
22

3-
add_library(dawn_headers INTERFACE IMPORTED)
3+
add_library(dawn_headers INTERFACE IMPORTED GLOBAL)
44
target_include_directories(dawn_headers INTERFACE "${CMAKE_CURRENT_LIST_DIR}/include")
55

6-
add_library(dawn_static STATIC IMPORTED)
6+
add_library(dawn_static STATIC IMPORTED GLOBAL)
77
target_link_libraries(dawn_static INTERFACE dawn_headers)
88
if(WIN32)
99
set_target_properties(dawn_static PROPERTIES IMPORTED_LOCATION "${CMAKE_CURRENT_LIST_DIR}/lib/webgpu_dawn.lib")

0 commit comments

Comments
 (0)