From 556c7ca08069ec93e06471b5e638bbf3a31f44d7 Mon Sep 17 00:00:00 2001 From: TellowKrinkle Date: Sun, 12 Dec 2021 00:03:00 -0600 Subject: [PATCH] CMake: Don't include non-windows files on non-windows --- pcsx2/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pcsx2/CMakeLists.txt b/pcsx2/CMakeLists.txt index e44e51f1cc..e113884075 100644 --- a/pcsx2/CMakeLists.txt +++ b/pcsx2/CMakeLists.txt @@ -1488,6 +1488,9 @@ foreach(path IN LISTS RESOURCE_FILES) if("${file}" MATCHES "^\\.") # Don't copy macOS garbage (mainly Finder's .DS_Store files) into application continue() endif() + if (NOT WIN32 AND "${path}" MATCHES "/dx11/") # Don't include unneccessary stuff + continue() + endif() pcsx2_resource(${path} ${CMAKE_SOURCE_DIR}/bin/resources/) endforeach()