mirror of https://github.com/PCSX2/pcsx2.git
CMake: Don't include non-windows files on non-windows
This commit is contained in:
parent
962db4bfc4
commit
556c7ca080
|
@ -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
|
if("${file}" MATCHES "^\\.") # Don't copy macOS garbage (mainly Finder's .DS_Store files) into application
|
||||||
continue()
|
continue()
|
||||||
endif()
|
endif()
|
||||||
|
if (NOT WIN32 AND "${path}" MATCHES "/dx11/") # Don't include unneccessary stuff
|
||||||
|
continue()
|
||||||
|
endif()
|
||||||
pcsx2_resource(${path} ${CMAKE_SOURCE_DIR}/bin/resources/)
|
pcsx2_resource(${path} ${CMAKE_SOURCE_DIR}/bin/resources/)
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue