mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-10 22:05:06 +00:00
cmake: Actually support delay loading on Windows
This commit is contained in:
parent
ba1780afa6
commit
8f4313d8e8
1 changed files with 3 additions and 0 deletions
|
@ -703,6 +703,9 @@ target_link_libraries(${PROJECT_NAME}
|
|||
${PROJECT_LIBRARIES}
|
||||
)
|
||||
if(WIN32)
|
||||
target_link_libraries(${PROJECT_NAME}
|
||||
Delayimp.lib
|
||||
)
|
||||
foreach(DELAYLOAD ${PROJECT_LIBRARIES_DELAYED})
|
||||
get_target_property(_lf ${PROJECT_NAME} LINK_FLAGS)
|
||||
if (NOT _lf)
|
||||
|
|
Loading…
Reference in a new issue