mirror of
https://github.com/hedge-dev/XenosRecomp.git
synced 2025-10-30 07:12:17 +00:00
Fix DXIL library linkage.
This commit is contained in:
parent
cb2f80ba6c
commit
ea49427f57
1 changed files with 2 additions and 0 deletions
|
|
@ -40,6 +40,8 @@ endif()
|
|||
if (WIN32)
|
||||
target_compile_definitions(ShaderRecomp PRIVATE _CRT_SECURE_NO_WARNINGS)
|
||||
file(COPY ${PACKAGE_PREFIX_DIR}/bin/dxil.dll DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
||||
else()
|
||||
set_target_properties(Microsoft::DXIL PROPERTIES IMPORTED_LOCATION ${PACKAGE_PREFIX_DIR}/lib/libdxil.so)
|
||||
endif()
|
||||
|
||||
if (SHADER_RECOMP_DXIL)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue