diff --git a/src/dawn_native/CMakeLists.txt b/src/dawn_native/CMakeLists.txt index 34457573fa..d93e8a4e12 100644 --- a/src/dawn_native/CMakeLists.txt +++ b/src/dawn_native/CMakeLists.txt @@ -148,8 +148,6 @@ target_sources(dawn_native PRIVATE "Sampler.h" "ShaderModule.cpp" "ShaderModule.h" - "SpirvUtils.cpp" - "SpirvUtils.h" "StagingBuffer.cpp" "StagingBuffer.h" "Subresource.cpp" @@ -414,6 +412,8 @@ if (DAWN_ENABLE_OPENGL) "opengl/SamplerGL.h" "opengl/ShaderModuleGL.cpp" "opengl/ShaderModuleGL.h" + "opengl/SpirvUtils.cpp" + "opengl/SpirvUtils.h" "opengl/SwapChainGL.cpp" "opengl/SwapChainGL.h" "opengl/TextureGL.cpp"