Merge pull request #2210 from Rohan03x/fix/freetype-rc-path
build: skip the FreeType version resource so Windows builds work in paths with spaces
This commit is contained in:
commit
173adda9d8
|
|
@ -94,6 +94,11 @@ set(FT_DISABLE_BROTLI ON CACHE BOOL "" FORCE)
|
|||
set(SKIP_INSTALL_ALL ON CACHE BOOL "" FORCE)
|
||||
add_subdirectory(3rdparty/freetype EXCLUDE_FROM_ALL)
|
||||
set_target_properties(freetype PROPERTIES POSITION_INDEPENDENT_CODE ON)
|
||||
if(WIN32)
|
||||
get_target_property(freetypeSources freetype SOURCES)
|
||||
list(FILTER freetypeSources EXCLUDE REGEX "ftver\\.rc$")
|
||||
set_target_properties(freetype PROPERTIES SOURCES "${freetypeSources}")
|
||||
endif()
|
||||
|
||||
add_subdirectory(core/shader/recompiler)
|
||||
add_subdirectory(core/Decoder/Jpeg)
|
||||
|
|
|
|||
Loading…
Reference in New Issue