CMake: Don't include non-windows files on non-windows

This commit is contained in:
TellowKrinkle authored and tellowkrinkle committed 2021-12-12 06:10:47 -06:00
1 parent 962db4bfc4
commit 556c7ca080
1 file changed
+3
+3
View File
@@ -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()