File tree Expand file tree Collapse file tree 1 file changed +17
-13
lines changed Expand file tree Collapse file tree 1 file changed +17
-13
lines changed Original file line number Diff line number Diff line change 1313
1414if (OPTION_SELF_CONTAINED)
1515
16- # Install 3rd-party runtime dependencies into runtime-component
17- # install(FILES ... COMPONENT runtime)
18-
19- find_file (DLLS_CPPASSIST cppassist.dll)
20-
21- set (DLLS
22- ${DLLS_CPPASSIST}
23- )
24- set (PLATFORMS
25- ${DLLS_WIN}
26- )
27- install (FILES ${DLLS} DESTINATION ${INSTALL_BIN} COMPONENT examples)
28- install (FILES ${PLATFORMS} DESTINATION ${INSTALL_BIN} /platforms COMPONENT examples)
16+ if (SYSTEM_WINDOWS)
17+
18+ # Install 3rd-party runtime dependencies into runtime-component
19+ # install(FILES ... COMPONENT runtime)
20+
21+ find_file (DLLS_CPPASSIST cppassist.dll)
22+
23+ set (DLLS
24+ ${DLLS_CPPASSIST}
25+ )
26+ set (PLATFORMS
27+ ${DLLS_WIN}
28+ )
29+ install (FILES ${DLLS} DESTINATION ${INSTALL_BIN} COMPONENT examples)
30+ install (FILES ${PLATFORMS} DESTINATION ${INSTALL_BIN} /platforms COMPONENT examples)
31+
32+ endif ()
2933
3034endif ()
You can’t perform that action at this time.
0 commit comments