message: Added option to link ISPC statically
diff: @@ -47,6 +47,11 @@ option(ISPC_PREPARE_PACKAGE "Generate build targets for ispc package" OFF)
  if (UNIX)
  option(ISPC_STATIC_STDCXX_LINK "Link statically with libstdc++ and libgcc" OFF)
  + if (ISPC_PREPARE_PACKAGE)
  + option(ISPC_STATIC_LINK "Link statically" ON)
  + else()
  + option(ISPC_STATIC_LINK "Link statically" OFF)
  + endif()
  option(ISPC_USE_ASAN "Build ispc with address sanitizer instrumentation using clang compiler" OFF)
  endif()
  @@ -234,6 +239,10 @@ if (ISPC_STATIC_STDCXX_LINK)
  set_target_properties(${PROJECT_NAME} PROPERTIES LINK_FLAGS "-static-libgcc -static-libstdc++")
  endif()
  +if (ISPC_STATIC_LINK)
  + set_target_properties(${PROJECT_NAME} PROPERTIES LINK_FLAGS "-static")
  +endif()
  +
  if (ISPC_USE_ASAN)
  set_target_properties(${PROJECT_NAME} PROPERTIES LINK_FLAGS "-fsanitize=address")
  endif()
  