mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-18 03:54:19 +01:00
CMake: Don't include non-windows files on non-windows
This commit is contained in:
1 parent
962db4bfc4
commit
556c7ca080
1 file changed
+3
@@ -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()
|
||||
|
||||
|
||||
Reference in new issue
Block a user