build: windows, create install step for daemon
This commit is contained in:
parent
e4ecbdae8a
commit
5a45e6d102
1 changed files with 15 additions and 1 deletions
|
|
@ -35,6 +35,20 @@ if(WIN32)
|
||||||
app
|
app
|
||||||
${libs})
|
${libs})
|
||||||
|
|
||||||
post_config()
|
install(
|
||||||
|
TARGETS ${target}
|
||||||
|
RUNTIME_DEPENDENCY_SET deamonDeps
|
||||||
|
DESTINATION .
|
||||||
|
)
|
||||||
|
install(RUNTIME_DEPENDENCY_SET daemonDeps
|
||||||
|
PRE_EXCLUDE_REGEXES
|
||||||
|
"api-ms-win-.*"
|
||||||
|
"ext-ms-.*"
|
||||||
|
"^hvsifiletrust\\.dll$"
|
||||||
|
POST_EXCLUDE_REGEXES
|
||||||
|
".*system32.*"
|
||||||
|
RUNTIME DESTINATION .
|
||||||
|
)
|
||||||
|
|
||||||
|
post_config()
|
||||||
endif()
|
endif()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue