eliemichel / WebGPU-distribution

Distributions of WebGPU for native and web development, easy to integrate and interchangeable.
MIT License
159 stars 29 forks source link

Prefer to use FETCHCONTENT_BASE_DIR when specifying include directories from FetchContent (Dawn) #35

Closed NoctemCat closed 3 weeks ago

NoctemCat commented 3 weeks ago

This variable controls the point under which all content population directories are collected, also when not changed it points to it. If it was changed target_include_directories would now include nonexistent directory.

Now that I looked at it, ${dawn_SOURCE_DIR} was also defined. Either of them would work

eliemichel commented 3 weeks ago

Hi, sorry I am not sure which call to target_include_directories you are referring to in practice?

NoctemCat commented 3 weeks ago

This one image

eliemichel commented 3 weeks ago

Good catch, thanks! Fixed by 35bad0c