commit 685b29cfc3b222f48009f5da7ddd36751ad01c45 parent 1963624398e9eba8c7e8f96ddb9e6efca34c7dbd Author: dsp56300 <dsp56300@users.noreply.github.com> Date: Fri, 16 Jul 2021 03:04:47 +0200 do not package windows .bat files for linux & mac Diffstat:
M | CMakeLists.txt | | | 7 | ++++++- |
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt @@ -49,7 +49,12 @@ if(UNIX AND NOT APPLE) endif() install(TARGETS virusTestConsole DESTINATION . COMPONENT testConsole) -install(DIRECTORY deploy/win/ DESTINATION . COMPONENT testConsole) + +if(MSVC) + install(DIRECTORY deploy/win/ DESTINATION . COMPONENT testConsole) +else() + install(DIRECTORY deploy/linux/ DESTINATION . COMPONENT testConsole) +endif() # ----------------- CPack